Worker::ApiClient::HttpClient
Inherits Reference < Object
Constants
CONNECTION_TIMEOUT = 5.seconds
Log = Worker::ApiClient::Log.for("http")
RW_TIMEOUT = 40.seconds
Constructors
new
SourceInstance methods
get(subpath : String, body : String | Nil = nil) : String
Sourceget_raw(subpath : String, body : String | Nil = nil) : HTTP::Client::Response
Sourceget_raw(subpath : String, body : String | Nil = nil, &block : HTTP::Client::Response -> Nil) : Nil
Sourceput(subpath : String, body : String | Nil = nil) : String
Sourceput_raw(subpath : String, body : String | Nil = nil) : HTTP::Client::Response
Source