Click or drag to resize

CefResponseFilter Class

Implement this interface to filter resource response content. The methods of this class will be called on the browser process IO thread.
Inheritance Hierarchy
SystemObject
  Internal.Xilium.CefGlueCefResponseFilter

Namespace:  Internal.Xilium.CefGlue
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public abstract class CefResponseFilter

The CefResponseFilter type exposes the following members.

Constructors
  NameDescription
Protected methodCefResponseFilter
Initializes a new instance of the CefResponseFilter class
Top
Properties
  NameDescription
Protected propertySyncRoot
Top
Methods
  NameDescription
Protected methodDispose
Releases the unmanaged resources used by the CefResponseFilter and optionally releases the managed resources
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFilter
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.
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodInitFilter
Initialize the response filter. Will only be called a single time. The filter will not be installed if this method returns false.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
See Also