Click or drag to resize

RequestContextBuilder.WithProxyServer Method (String, String, Nullable<Int32>)

Version 93.1.111
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.

Namespace:  CefSharp
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 93.1.111.0
Syntax
public RequestContextBuilder WithProxyServer(
	string scheme,
	string host,
	int? port
)

Parameters

scheme
Type: System.String
proxy scheme
host
Type: System.String
proxy host
port
Type: System.Nullable<Int32>
proxy port (optional)

Return Value

Type: RequestContextBuilder
Returns RequestContextBuilder instance
See Also