Click or drag to resize

RequestContextHandlerSetProxyOnContextInitialized Method (String, NullableInt32)

Version 87.1.132
Sets the proxy preferences when the OnRequestContextInitialized(IRequestContext) method is called. Proxy set via the command-line usually cannot be modified.

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 87.1.132.0 (87.1.132.0)
Syntax
public RequestContextHandler SetProxyOnContextInitialized(
	string host,
	Nullable<int> port = null
)

Parameters

host
Type: SystemString
proxy host
port (Optional)
Type: SystemNullableInt32
proxy port

Return Value

Type: RequestContextHandler
A RequestContextHandler instance allowing you to chain multiple AddPreference calls together
See Also