sig/parser/http1.rbs in httpx-0.16.1 vs sig/parser/http1.rbs in httpx-0.17.0
- old
+ new
@@ -3,12 +3,12 @@
type parsed_headers = Hash[String, Array[String]]
interface _HTTP1Events
def on_start: () -> void
- def on_headers: (parsed_headers) -> void
- def on_trailers: (parsed_headers) -> void
- def on_data: (String) -> void
+ def on_headers: (parsed_headers headers) -> void
+ def on_trailers: (parsed_headers trailers) -> void
+ def on_data: (String data) -> void
def on_complete: () -> void
end
class HTTP1
VERSIONS: Array[String]
\ No newline at end of file