sig/request.rbs in httpx-0.22.5 vs sig/request.rbs in httpx-0.23.0

- old
+ new

@@ -4,12 +4,12 @@ include Callbacks METHODS: Array[Symbol] USER_AGENT: String - attr_reader verb: Symbol - attr_reader uri: URI::Generic + attr_reader verb: verb + 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? @@ -53,9 +53,13 @@ def read_timeout: () -> Numeric def write_timeout: () -> Numeric def request_timeout: () -> Numeric + + private + + def initialize_body: (Options options) -> Transcoder::_Encoder? class Body @headers: Headers @body: body_encoder? @unbounded_body: bool