Sha256: fe722812fe234af437e91588718300b17d2e6f890c9d0972019e00c7f6e431f4
Contents?: true
Size: 1.44 KB
Versions: 2
Compression:
Stored size: 1.44 KB
Contents
module HTTPX class Request include Callbacks METHODS: Array[verb] USER_AGENT: String 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? attr_reader drain_error: StandardError? def initialize: (verb | String, generic_uri, ?options?) -> untyped def interests: () -> (:r | :w) def merge_headers: (_Each[[headers_key, headers_value]]) -> void def scheme: () -> ("http" | "https") def response=: (response) -> void def path: () -> String def authority: () -> String def origin: () -> String def query: () -> String def drain_body: () -> String? 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] def empty?: () -> bool def bytesize: () -> Numeric def stream: (Transcoder::_Encoder) -> bodyIO def unbounded_body?: () -> bool def chunked?: () -> bool def chunk!: () -> void def inspect: () -> String end class ProcIO include _Writer def initialize: (^(_ToS) -> void) -> untyped end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
httpx-0.16.1 | sig/request.rbs |
httpx-0.16.0 | sig/request.rbs |