sig/io/ssl.rbs in httpx-1.2.4 vs sig/io/ssl.rbs in httpx-1.2.6
- old
+ new
@@ -12,9 +12,10 @@
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 session_new_cb: { (OpenSSL::SSL::Session sess) -> void } -> void
def can_verify_peer?: () -> bool
def verify_hostname: (String host) -> bool
def ssl_session_expired?: () -> boolish