Module http

Module http 

Source

Structs§

ApiHttpHeader
ApiHttpHeader
ApiHttpRequest
Http Api
ApiHttpResponse
ApiHttpResponse

Enums§

ApiHttpMethod
ApiHttpMethod

Functions§

get
Perform a GET request and deserialize a JSON response. Returns an error on non-2xx status codes or JSON decode failures.
get_raw
Perform a raw HTTP request with metrics, returning the response verbatim.
get_with_label
Same as get, with an explicit metrics label. Returns an error on non-2xx status codes or JSON decode failures.