sig/request/body.rbs in httpx-1.2.6 vs sig/request/body.rbs in httpx-1.3.0
- old
+ new
@@ -2,11 +2,11 @@
class Request::Body
@headers: Headers
@body: body_encoder?
@unbounded_body: bool
- def initialize: (Headers headers, Options options) -> void
+ def initialize: (Headers headers, Options options, ?body: bodyIO, ?form: Transcoder::urlencoded_input?, ?json: _ToJson?, **untyped) -> void
def each: () { (String) -> void } -> void
| () -> Enumerable[String]
def rewind: () -> void
@@ -22,11 +22,9 @@
def chunked?: () -> bool
def chunk!: () -> void
private
-
- def initialize_body: (Options options) -> void
def self.initialize_deflater_body: (body_encoder body, Encoding | String encoding) -> body_encoder
end
class ProcIO
\ No newline at end of file