test_proxy


Description:

public async Ok test_proxy (string server, int32 port, ProxyType type_, int32 dc_id, double timeout) throws TDLibError

Sends a simple network request to the Telegram servers via proxy; for testing only. Can be called before authorization

Parameters:

server

Proxy server domain or IP address

port

Proxy server port

type_

Proxy type

dc_id

Identifier of a datacenter with which to test connection

timeout

The maximum overall timeout for the request