sig/plugins/callbacks.rbs in httpx-1.2.4 vs sig/plugins/callbacks.rbs in httpx-1.2.6
- old
+ new
@@ -5,10 +5,10 @@
end
module InstanceMethods
include HTTPX::Callbacks
- type socket = TCPSocket | SSLSocket | UNIXSocket
+ type socket = TCPSocket | OpenSSL::SSL::SSLSocket | UNIXSocket
def on_connection_opened: () { (http_uri origin, socket sock) -> void } -> self
def on_connection_closed: () { (http_uri origin) -> void } -> self