Sha256: 2f8ed2712d8ad6acce55894160424d543f0d6d5180716e92237e9d8f5d2734c0
Contents?: true
Size: 1.28 KB
Versions: 8
Compression:
Stored size: 1.28 KB
Contents
module HTTPX class HTTPProxyError < Error end 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? attr_reader scheme: String? def can_authenticate?: (*untyped) -> boolish def authenticate: (*untyped) -> String? def ==: (untyped) -> bool private def initialize: (uri: generic_uri, ?scheme: String, ?username: String, ?password: String, **untyped) -> untyped end def self.configure: (singleton(Session)) -> void type proxyParam = Parameters | Hash[Symbol, untyped] interface _ProxyOptions def proxy: () -> proxyParam? end def self.extra_options: (Options) -> (Options & _ProxyOptions) module InstanceMethods private def proxy_uris: (generic_uri, Options & _ProxyOptions) -> { uri: generic_uri, username: String, password: String } | (generic_uri, Options & _ProxyOptions) -> { uri: generic_uri } | (generic_uri, Options & _ProxyOptions) -> nil end end type sessionProxy = Session & Proxy::InstanceMethods end end
Version data entries
8 entries across 8 versions & 1 rubygems