CefResourceHandler Class |
Namespace: Internal.Xilium.CefGlue
public abstract class CefResourceHandler
The CefResourceHandler type exposes the following members.
Name | Description | |
---|---|---|
CefResourceHandler | Initializes a new instance of the CefResourceHandler class |
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 | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (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. If an error occured while setting up the request you can call
SetError() on |response| to indicate the error condition.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
KeepObject | ||
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.
| |
ReleaseObject | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |