sig/connection/http2.rbs in httpx-0.11.3 vs sig/connection/http2.rbs in httpx-0.12.0
- old
+ new
@@ -1,30 +1,32 @@
module HTTPX
class Connection::HTTP2
include Callbacks
include Loggable
- attr_reader streams: Hash[HTTP2Next::Stream, Response]
+ attr_reader streams: Hash[Request, HTTP2Next::Stream]
attr_reader pending: Array[Request]
@options: Options
@max_concurrent_requests: Integer
@max_requests: Integer
@drains: Hash[Request, String]
@pings: Array[String]
@buffer: Buffer
- def interests: () -> io_interests
+ def interests: () -> io_interests?
def close: () -> void
def empty?: () -> bool
def exhausted?: () -> bool
def <<: (String) -> void
+ def can_buffer_more_requests: () -> bool
+
def send: (Request) -> void
def consume: () -> void
def handle_error: (StandardError ex) -> void
@@ -39,10 +41,10 @@
def send_pending: () -> void
def headline_uri: (Request) -> String
- def set_request_headers: (Request) -> void
+ def set_protocol_headers: (Request) -> void
def handle: (Request request, HTTP2Next::Stream stream) -> void
def init_connection: () -> void
\ No newline at end of file