RequestContextHandlerSetProxyOnContextInitialized(String, String, NullableInt32) Method |
Version 130.1.90Namespace: CefSharp.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public RequestContextHandler SetProxyOnContextInitialized(
string scheme,
string host,
int? port
)
public:
RequestContextHandler^ SetProxyOnContextInitialized(
String^ scheme,
String^ host,
Nullable<int> port
)
Parameters
- scheme String
- is the protocol of the proxy server, and is one of: 'http', 'socks', 'socks4', 'socks5'. Also note that 'socks' is equivalent to 'socks5'.
- host String
- proxy host
- port NullableInt32
- proxy port
Return Value
RequestContextHandlerA
RequestContextHandler instance allowing you to chain multiple AddPreference calls together
See Also