class

PolyScan::Clients::HttpClient

Inherits Reference < Object

Constructors

from_config(base_url : String, config : App::Config) : HttpClient
Source
new(base_url : String, timeout_ms : Int32, max_retries : Int32, retry_backoff_ms : Int32, retry_jitter_ms : Int32, rate_limit_per_minute : Int32)
Source

Instance methods

base_url
Source
get(path : String) : String
Source
get_json(path : String) : JSON::Any
Source