Class: TD::Types::ProxyType::Http
- Inherits:
-
TD::Types::ProxyType
- Object
- Dry::Struct
- Base
- TD::Types::ProxyType
- TD::Types::ProxyType::Http
- Defined in:
- lib/tdlib/types/proxy_type/http.rb
Overview
A HTTP transparent proxy server.
Instance Attribute Summary collapse
-
#http_only ⇒ Boolean
Pass true if the proxy supports only HTTP requests and doesn’t support transparent TCP connections via HTTP CONNECT method.
-
#password ⇒ TD::Types::String?
Password for logging in; may be empty.
-
#username ⇒ TD::Types::String?
Username for logging in; may be empty.
Method Summary
Methods inherited from Base
Instance Attribute Details
#http_only ⇒ Boolean
Pass true if the proxy supports only HTTP requests and doesn’t support transparent TCP connections via HTTP CONNECT method.
8 9 10 |
# File 'lib/tdlib/types/proxy_type/http.rb', line 8 def http_only @http_only end |
#password ⇒ TD::Types::String?
Password for logging in; may be empty.
8 9 10 |
# File 'lib/tdlib/types/proxy_type/http.rb', line 8 def password @password end |
#username ⇒ TD::Types::String?
Username for logging in; may be empty.
8 9 10 |
# File 'lib/tdlib/types/proxy_type/http.rb', line 8 def username @username end |