sig/request.rbs in httpx-0.24.7 vs sig/request.rbs in httpx-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
METHODS: Array[Symbol]
USER_AGENT: String
attr_reader verb: verb
- attr_reader uri: URI::HTTP | URI::HTTPS
+ attr_reader uri: http_uri
attr_reader headers: Headers
attr_reader body: Body
attr_reader state: Symbol
attr_reader options: Options
attr_reader response: response?
@@ -58,33 +58,7 @@
private
def initialize_body: (Options options) -> Transcoder::_Encoder?
- class Body
- @headers: Headers
- @body: body_encoder?
- @unbounded_body: bool
-
- def initialize: (Headers, Options) -> untyped
- def each: () { (String) -> void } -> void
- | () -> Enumerable[String]
-
- def rewind: () -> void
- def empty?: () -> bool
- def bytesize: () -> (Integer | Float)
- def stream: (Transcoder::_Encoder) -> bodyIO
- def unbounded_body?: () -> bool
- def chunked?: () -> bool
- def chunk!: () -> void
- def inspect: () -> String
- end
-
- class ProcIO
- @block: ^(String) -> void
-
- def initialize: (^(String) -> void) -> untyped
-
- def write: (String data) -> Integer
- end
end
end