Click or drag to resize

RequestContextBuilder Class

Version 101.0.180
Fluent style builder for creating IRequestContext instances.
Inheritance Hierarchy
SystemObject
  CefSharpRequestContextBuilder

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 101.0.180.0
Syntax
public class RequestContextBuilder

The RequestContextBuilder type exposes the following members.

Constructors
  NameDescription
Public methodRequestContextBuilder
Initializes a new instance of the RequestContextBuilder class
Top
Methods
  NameDescription
Public methodCreate
Create the actual RequestContext instance
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnInitialize
Action is called in IRequestContextHandler.OnRequestContextInitialized
Public methodPersistUserPreferences
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWithCachePath
Sets the Cache Path
Public methodWithPreference
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.
Public methodWithProxyServer(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.
Public methodWithProxyServer(String, NullableInt32)
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.
Public methodWithProxyServer(String, String, NullableInt32)
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.
Public methodWithSharedSettings
Shares storage with other RequestContext
Top
See Also