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