Click or drag to resize

IResponseFilter Interface

Version 90.6.50
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: 90.6.50.0 (90.6.50.0)
Syntax
public interface IResponseFilter : IDisposable

The IResponseFilter type exposes the following members.

Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodFilter
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.
Public methodInitFilter
Initialize the response filter. Will only be called a single time. The filter will not be installed if this method returns false.
Top
See Also