[This is preliminary documentation and is subject to change.]
The CefResourceHandler type exposes the following members.Constructors
Name | Description | |
---|---|---|
CefResourceHandler | Initializes a new instance of the CefResourceHandler class |
Methods
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 | Releases the unmanaged resources used by the CefResourceHandler and optionally releases the managed resources | |
Equals | (Inherited from Object.) | |
Finalize | (Overrides Object Finalize .) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetResponseHeaders |
Retrieve response header information. If the response length is not known
set |response_length| to -1 and ReadResponse() will be called until it
returns false. If the response length is known set |response_length|
to a positive value and ReadResponse() will be called until it returns
false or the specified number of bytes have been read. Use the |response|
object to set the mime type, http status code and other optional header
values. To redirect the request to a new URL set |redirectUrl| to the new
URL.
| |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ProcessRequest |
Begin processing the request. To handle the request return true and call
CefCallback::Continue() once the response header information is available
(CefCallback::Continue() can also be called from inside this method if
header information is available immediately). To cancel the request return
false.
| |
ReadResponse |
Read response data. If data is available immediately copy up to
|bytes_to_read| bytes into |data_out|, set |bytes_read| to the number of
bytes copied, and return true. To read the data at a later time set
|bytes_read| to 0, return true and call CefCallback::Continue() when the
data is available. To indicate response completion return false.
| |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
SyncRoot |
See Also