Sha256: c1cddd7b950909e66943b89b696153f5f342010592809a343af72a4fb2808d7c
Contents?: true
Size: 1.3 KB
Versions: 1
Compression:
Stored size: 1.3 KB
Contents
module HTTPX HTTPProxyError: singleton(Error) module Plugins module Proxy Error: singleton(HTTPProxyError) PROXY_ERRORS: Array[singleton(StandardError)] class Parameters attr_reader uri: URI::Generic attr_reader username: string? attr_reader password: string? def authenticated?: () -> boolish def token_authentication: () -> String? def ==: (untyped) -> bool private def initialize: (uri: uri, ?username: string, ?password: string) -> untyped end # def self.configure: (singleton(Session)) -> void type proxyParam = Parameters | Hash interface _ProxyOptions def proxy: () -> proxyParam? def proxy=: (Parameters | _ToHash) -> proxyParam def with_proxy: (Parameters | _ToHash) -> instance end def self.extra_options: (Options) -> (Options & _ProxyOptions) module InstanceMethods private def proxy_uris: (uri, Options & _ProxyOptions) -> { uri: (URI | string), username: string, password: string } | (uri, Options & _ProxyOptions) -> { uri: (URI | string) } | (uri, Options & _ProxyOptions) -> nil end end type sessionProxy = Session & Plugins::Proxy::InstanceMethods end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
httpx-0.10.0 | sig/plugins/proxy.rbs |