Method Protocols.HTTP.Query()->async_request()
- Method
set_callbacks
Method async_request
Protocols.HTTP.Queryset_callbacks(function(:void)|zerorequest_ok,function(:void)|zerorequest_fail,mixed...extra)
Protocols.HTTP.Queryasync_request(stringserver,intport,stringquery)
Protocols.HTTP.Queryasync_request(stringserver,intport,stringquery,mappingheaders,string|voiddata)- Description
Setup and run an asynchronous request, otherwise similar to thread_request().
request_ok(Protocols.HTTP.Query httpquery,...extra args) will be called when connection is complete, and headers are parsed.
request_fail(Protocols.HTTP.Query httpquery,...extra args) is called if the connection fails.
- Returns
Returns the called object