class

Worker::ApiClient::HttpClient

Inherits Reference < Object

Constants

CONNECTION_TIMEOUT = 5.seconds
Log = Worker::ApiClient::Log.for("http")
RW_TIMEOUT = 40.seconds

Constructors

Instance methods

get(subpath : String, body : String | Nil = nil) : String
Source
get_raw(subpath : String, body : String | Nil = nil) : HTTP::Client::Response
Source
get_raw(subpath : String, body : String | Nil = nil, &block : HTTP::Client::Response -> Nil) : Nil
Source
put(subpath : String, body : String | Nil = nil) : String
Source
put_raw(subpath : String, body : String | Nil = nil) : HTTP::Client::Response
Source