sig/io/ssl.rbs in httpx-0.24.4 vs sig/io/ssl.rbs in httpx-0.24.5
- old
+ new
@@ -1,15 +1,16 @@
module HTTPX
- IPRegex: Regexp
- @ctx: OpenSSL::SSL::SSLContext
- @verify_hostname: bool
-
class TLSError < OpenSSL::SSL::SSLError
end
class SSL < TCP
TLS_OPTIONS: Hash[Symbol, untyped]
+
+ @ctx: OpenSSL::SSL::SSLContext
+ @verify_hostname: bool
+
+ attr_writer ssl_session: OpenSSL::SSL::Session?
# TODO: lift when https://github.com/ruby/rbs/issues/1497 fixed
# def initialize: (URI::Generic origin, Array[ipaddr]? addresses, options options) ?{ (self) -> void } -> void
def can_verify_peer?: () -> bool