Description Usage Arguments Details Value Author(s) See Also
Form and send an http response to a socket
1 | http_response(socket, status=200, content_type="text/html; charset=UTF-8", content="", headers=c())
|
socket |
A socket descriptor. |
status |
An http numeric status code. |
content_type |
The http content type. |
content |
The http content (normally of type raw). |
headers |
List or vector of additional headers to send with the response. All items must be named. Do not include |
Form an http response and send it to the specified socket, closing the socket connection when done.
NULL is invisibly returned
B. W. Lewis <blewis@illposed.net>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.