Project

General

Profile

Previous Up Next

rflHTTPclose
Define a callback on connection closing. It is fired when :
  • a connection occured, the request was received by the server
  • server hangs on the connection (asynchronous mode)
  • client close the connection, before the server sent the whole response
  • then the callback 'close' is fired on server side


HTTPcon rflHTTPclose (
HTTPcon _http_connection_
fun [HTTPcon u0] u1 _callback_
u0 _user_
)
Parameters

_http_connection_
any http connection
_callback_
callback function
_user_
user parameter.
Return value

http connection