RequestContextBuilder Class |
Namespace: CefSharp
The RequestContextBuilder type exposes the following members.
Name | Description | |
---|---|---|
RequestContextBuilder | Initializes a new instance of the RequestContextBuilder class |
Name | Description | |
---|---|---|
Create |
Create the actual RequestContext instance
| |
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnInitialize | ||
PersistUserPreferences |
Invoke this method tp persist user preferences as a JSON file in the cache path directory.
Can be set globally using the CefSettings.PersistUserPreferences value.
This value will be ignored if CachePath is empty or if it matches the CefSettings.CachePath value.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
WithCachePath |
Sets the Cache Path
| |
WithPreference |
Set the value associated with preference name when the RequestContext
is initialzied. If value is null the preference will be restored to its
default value. If setting the preference fails no error is throw, you
must check the CEF Log file.
Preferences set via the command-line usually cannot be modified.
| |
WithProxyServer(String) |
Set the Proxy server when the RequestContext is initialzied.
If value is null the preference will be restored to its
default value. If setting the preference fails no error is throw, you
must check the CEF Log file.
Proxy set via the command-line cannot be modified.
| |
WithProxyServer(String, NullableInt32) | ||
WithProxyServer(String, String, NullableInt32) | ||
WithSharedSettings |
Shares storage with other RequestContext
|