IResponseFilter Interface (original) (raw)
Version 118.6.80
Implement this interface to filter resource response content. The methods of this class will be called on the CEF IO thread.
Namespace: CefSharp
Assembly: CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
public interface IResponseFilter : IDisposable
public interface class IResponseFilter : IDisposable
The IResponseFilter type exposes the following members.
Methods
| | Name | Description | |
| -------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| | Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) |
|
| Filter | Called to filter a chunk of data. This method will be called repeatedly until there is no more data to filter (resource response is complete), dataInRead matches dataIn.Length (all available pre-filter bytes have been read), and the method returns FilterStatus.Done or FilterStatus.Error. |
|
| InitFilter | Initialize the response filter. Will only be called a single time. The filter will not be installed if this method returns false. |
See Also