Connection.ConnectionClient.ConnectProxyAsync method (1 of 2)
Connect to account with user, password, host, port. [DefaultValues] { "user": "500476959", "password": "ehj4bod", "host": "mt4-demo.roboforex.com", "port": "443", "proxyUser": "ProxyUser123", "proxyPassword": "qwerty123", "proxyHost": "65.108.126.217", "proxyPort": "1080", "proxyType": "Socks5" }
public virtual AsyncUnaryCall<ConnectProxyReply> ConnectProxyAsync(ConnectProxyRequest request,
CallOptions options)
| parameter | description |
|---|---|
| request | The request to send to the server. |
| options | The options for the call. |
Return Value
The call object.
See Also
- class ConnectProxyReply
- class ConnectProxyRequest
- class ConnectionClient
- namespace mt4_term_api
Connection.ConnectionClient.ConnectProxyAsync method (2 of 2)
Connect to account with user, password, host, port. [DefaultValues] { "user": "500476959", "password": "ehj4bod", "host": "mt4-demo.roboforex.com", "port": "443", "proxyUser": "ProxyUser123", "proxyPassword": "qwerty123", "proxyHost": "65.108.126.217", "proxyPort": "1080", "proxyType": "Socks5" }
public virtual AsyncUnaryCall<ConnectProxyReply> ConnectProxyAsync(ConnectProxyRequest request,
Metadata headers = null, DateTime? deadline = default,
CancellationToken cancellationToken = default)
| parameter | description |
|---|---|
| request | The request to send to the server. |
| headers | The initial metadata to send with the call. This parameter is optional. |
| deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| cancellationToken | An optional token for canceling the call. |
Return Value
The call object.
See Also
- class ConnectProxyReply
- class ConnectProxyRequest
- class ConnectionClient
- namespace mt4_term_api