sig/request.rbs in httpx-0.13.2 vs sig/request.rbs in httpx-0.14.0
- old
+ new
@@ -9,21 +9,22 @@
attr_reader uri: URI::HTTP | URI::HTTPS
attr_reader headers: Headers
attr_reader body: Body
attr_reader state: Symbol
attr_reader options: Options
- attr_reader response: Response?
+ attr_reader response: response?
+ attr_reader drain_error: StandardError?
def initialize: (verb | String, uri, ?options?) -> untyped
def interests: () -> (:r | :w)
def merge_headers: (Headers | Hash) -> void
def scheme: () -> ("http" | "https")
- def response=: (Response response) -> void
+ def response=: (response) -> void
def path: () -> String
def authority: () -> String
@@ -36,9 +37,13 @@
def inspect: () -> String
def transition: (Symbol) -> void
def expects?: () -> boolish
+
+ def trailers: () -> Headers
+
+ def trailers?: () -> boolish
class Body
def initialize: (Headers, Options) -> untyped
def each: () { (String) -> void } -> void
| () -> Enumerable[String]