Called when an HTTP request completes
Delegate called per tick to update an HTTP request upload or download size progress
Cancel a request that is still being processed
Return the payload as a string, assuming the payload is UTF8.
Return the size of the payload.
Return the time that it took for the server to fully respond to the request.
Return the method (GET, PUT, POST, DELETE) used by the request.
Return the HTTP response status code returned by the requested server.
Return the current status of the request being processed.
Call to begin processing the request. A request object can be re-used but not while still being processed.
Set the content of the request as a string encoded as UTF8.
Payload to set.
Set optional header info. Content-Length is the only header automatically set for you. Required headers depend on the request itself, e.g. "multipart/form-data" is needed for a form post.
Name of the header (Content-Type)
Value of the header
Set the method used by the request. Allowed methods are GET, PUT, POST, and DELETE. Should be set before calling process. If not specified, GET is assumed.
Method to use
URL to use