class Worker::HudbaClient::HttpClient
- Worker::HudbaClient::HttpClient
- Reference
- Object
Defined in:
worker/hudba_client/http_client.crConstant Summary
-
CONNECTION_TIMEOUT =
5.seconds
-
Log =
Worker::HudbaClient::Log.for("http")
-
RW_TIMEOUT =
40.seconds
Constructors
Instance Method Summary
- #get(subpath : String, body : String | Nil = nil)
- #get_raw(subpath : String, body : String | Nil = nil) : HTTP::Client::Response
- #get_raw(subpath : String, body : String | Nil = nil, &block : HTTP::Client::Response -> Nil) : Nil
- #post(subpath : String, body : String | Nil = nil)
- #post_raw(subpath : String, body : String | Nil = nil) : HTTP::Client::Response
Constructor Detail
Instance Method Detail
def get_raw(subpath : String, body : String | Nil = nil, &block : HTTP::Client::Response -> Nil) : Nil
#