|
||||||||||
|
||||||||||
Related Syntax | Other Library Functions |
function | HttpConnectionSendResponse |
Library: omhttp - HTTP support
Include: omhttp.xin |
define function HttpConnectionSendResponse value TCPConnection Connection send modifiable stream Response timeout value integer Timeout optional initial {10000}
This function constructs an HTTP message from an HTTP response object and returns it to the client from the server over the specified connection.
Input arguments:
Example:
; HttpConnectionSendResponse local HttpResponse my-Response set my-Response{"entity-body"} to file "default.htm" HttpConnectionSendResponse client-Connection send my-response timeout 45000
---- |