Sha256: 25ce49a7bbbcd9eaf3f2a5020f2f076710ac3c2dadbeba65dcd47502623ed49a

Contents?: true

Size: 602 Bytes

Versions: 3

Compression:

Stored size: 602 Bytes

Contents

module TD::Types
  # A HTTP transparent proxy server.
  #
  # @attr username [TD::Types::String, nil] Username for logging in; may be empty.
  # @attr password [TD::Types::String, nil] Password for logging in; may be empty.
  # @attr http_only [Boolean] Pass true if the proxy supports only HTTP requests and doesn't support transparent TCP
  #   connections via HTTP CONNECT method.
  class ProxyType::Http < ProxyType
    attribute :username, TD::Types::String.optional.default(nil)
    attribute :password, TD::Types::String.optional.default(nil)
    attribute :http_only, TD::Types::Bool
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.4 lib/tdlib/types/proxy_type/http.rb
tdlib-schema-1.7.0.3 lib/tdlib/types/proxy_type/http.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/proxy_type/http.rb