RequestContextHandler Class |
Namespace: CefSharp.Handler
The RequestContextHandler type exposes the following members.
Name | Description | |
---|---|---|
![]() | RequestContextHandler | Initializes a new instance of the RequestContextHandler class |
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetResourceRequestHandler |
Called on the CEF IO thread before a resource request is initiated.
This method will not be called if the client associated with browser returns a non-NULL value
from GetResourceRequestHandler(IWebBrowser, IBrowser, IFrame, IRequest, Boolean, Boolean, String, Boolean) for the same request (identified by Identifier).
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnInitialize |
The ActionT is executed when the RequestContext has been initialized, after the
preferences/proxy preferences have been set, before OnRequestContextInitialized.
|
![]() | OnRequestContextInitialized |
Called immediately after the request context has been initialized.
It's important to note this event is fired on a CEF UI thread, which by default is not the same as your application UI
thread.
|
![]() | SetPreferenceOnContextInitialized |
Sets the preferences when the OnRequestContextInitialized(IRequestContext)
method is called. If value is null the preference will be restored
to its default value. Preferences set via the command-line usually cannot be modified.
|
![]() | SetProxyOnContextInitialized(String, NullableInt32) |
Sets the proxy preferences when the OnRequestContextInitialized(IRequestContext)
method is called. Proxy set via the command-line usually cannot be modified.
|
![]() | SetProxyOnContextInitialized(String, String, NullableInt32) |
Sets the proxy preferences when the OnRequestContextInitialized(IRequestContext)
method is called. Proxy set via the command-line usually cannot be modified.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |