Module tdlight.api

Class TdApi.ProxyTypeSocks5

Enclosing class:
TdApi

public static final class TdApi.ProxyTypeSocks5 extends TdApi.ProxyType
A SOCKS5 proxy server.
  • Field Details

    • username

      public String username
      Username for logging in; may be empty.
    • password

      public String password
      Password for logging in; may be empty.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ProxyTypeSocks5

      public ProxyTypeSocks5()
      A SOCKS5 proxy server.
    • ProxyTypeSocks5

      public ProxyTypeSocks5(String username, String password)
      A SOCKS5 proxy server.
      Parameters:
      username - String Username for logging in; may be empty.
      password - String Password for logging in; may be empty.
    • ProxyTypeSocks5

      public ProxyTypeSocks5(DataInput input) throws IOException
      A SOCKS5 proxy server.
      Throws:
      IOException
  • Method Details