sig/connection/http2.rbs in httpx-0.13.2 vs sig/connection/http2.rbs in httpx-0.14.0
- old
+ new
@@ -51,16 +51,20 @@
def handle_stream: (HTTP2Next::Stream stream, Request request) -> void
def join_headers: (HTTP2Next::Stream stream, Request request) -> void
+ def join_trailers: (HTTP2Next::Stream stream, Request request) -> void
+
def join_body: (HTTP2Next::Stream stream, Request request) -> void
def on_stream_headers: (HTTP2Next::Stream stream, Request request, Array[[String, String]] headers) -> void
+ def on_stream_trailers: (HTTP2Next::Stream stream, Request request, Array[[String, String]] headers) -> void
+
def on_stream_data: (HTTP2Next::Stream stream, Request request, string data) -> void
- def on_stream_close: (HTTP2Next::Stream stream, Request request, Symbol? error) -> void
+ def on_stream_close: (HTTP2Next::Stream stream, Request request, (Symbol | StandardError)? error) -> void
def on_frame: (string bytes) -> void
def on_settings: (*untyped) -> void
\ No newline at end of file