Click or drag to resize

RequestContextHandlerSetProxyOnContextInitialized(String, NullableInt32) Method

Version 130.1.90
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: 129.0.110.0 (129.0.110.0)
Syntax
public RequestContextHandler SetProxyOnContextInitialized(
	string host,
	int? port = null
)

Parameters

host  String
proxy host
port  NullableInt32  (Optional)
proxy port

Return Value

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