RequestContextBuilderWithProxyServer(String, String, NullableInt32) Method |
Version 130.1.90
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: CefSharpAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public RequestContextBuilder WithProxyServer(
string scheme,
string host,
int? port
)
public:
RequestContextBuilder^ WithProxyServer(
String^ scheme,
String^ host,
Nullable<int> port
)
Parameters
- scheme String
- proxy scheme
- host String
- proxy host
- port NullableInt32
- proxy port (optional)
Return Value
RequestContextBuilderReturns RequestContextBuilder instance
See Also