Sha256: e0bae82b77e4bc83876c236db66b301a1fe09647e6e44154d921083db9032e37

Contents?: true

Size: 581 Bytes

Versions: 3

Compression:

Stored size: 581 Bytes

Contents

module TD::Types
  # A HTTP transparent proxy server.
  #
  # @attr username [String, nil] Username for logging in; may be empty.
  # @attr password [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-ruby-2.2.0 lib/tdlib/types/proxy_type/http.rb
tdlib-ruby-2.1.0 lib/tdlib/types/proxy_type/http.rb
tdlib-ruby-2.0.0 lib/tdlib/types/proxy_type/http.rb