Click or drag to resize
IResourceHandler Methods
Version 55.0.0

The IResourceHandler type exposes the following members.

Methods
  NameDescription
Public methodCancel
Request processing has been canceled.
Public methodCanGetCookie
Return true if the specified cookie can be sent with the request or false otherwise. If false is returned for any cookie then no cookies will be sent with the request.
Public methodCanSetCookie
Return true if the specified cookie returned with the response can be set or false otherwise.
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodGetResponseHeaders
Retrieve response header information. If the response length is not known set responseLength to -1 and ReadResponse() will be called until it returns false. If the response length is known set responseLength to a positive value and ReadResponse() will be called until it returns false or the specified number of bytes have been read. If an error occured while setting up the request you can set ErrorCode to indicate the error condition.
Public methodProcessRequest
Begin processing the request.
Public methodReadResponse
Read response data. If data is available immediately copy to dataOut, set bytesRead to the number of bytes copied, and return true. To read the data at a later time set bytesRead to 0, return true and call ICallback.Continue() when the data is available. To indicate response completion return false.
Top
See Also