IResourceHandler Interface |
Namespace: CefSharp
The IResourceHandler type exposes the following members.
Name | Description | |
---|---|---|
Cancel |
Request processing has been canceled.
| |
CanGetCookie |
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.
| |
CanSetCookie |
Return true if the specified cookie returned with the response can be set or false otherwise.
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
GetResponseHeaders |
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.
| |
ProcessRequest |
Begin processing the request.
| |
ReadResponse |
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.
|