CefResponseFilter Methods |
The CefResponseFilter type exposes the following members.
Name | Description | |
---|---|---|
Dispose | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Filter |
Called to filter a chunk of data. |data_in| is the input buffer containing
|data_in_size| bytes of pre-filter data (|data_in| will be NULL if
|data_in_size| is zero). |data_out| is the output buffer that can accept up
to |data_out_size| bytes of filtered output data. Set |data_in_read| to the
number of bytes that were read from |data_in|. Set |data_out_written| to
the number of bytes that were written into |data_out|. If some or all of
the pre-filter data was read successfully but more data is needed in order
to continue filtering (filtered output is pending) return
RESPONSE_FILTER_NEED_MORE_DATA. If some or all of the pre-filter data was
read successfully and all available filtered output has been written return
RESPONSE_FILTER_DONE. If an error occurs during filtering return
RESPONSE_FILTER_ERROR. This method will be called repeatedly until there is
no more data to filter (resource response is complete), |data_in_read|
matches |data_in_size| (all available pre-filter bytes have been read), and
the method returns RESPONSE_FILTER_DONE or RESPONSE_FILTER_ERROR. Do not
keep a reference to the buffers passed to this method.
| |
Finalize | (Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitFilter |
Initialize the response filter. Will only be called a single time. The
filter will not be installed if this method returns false.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
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.) |