class

EasySubtitle::ApiClient

Inherits Reference / Object

Constants

MAX_REDIRECTS = 5
RATE_LIMIT_MS = 500

Constructors

new(config : Config, authenticator : Authenticator)
Source

Instance methods

authenticated_headers
Source
get(path : String, params : Hash(String, String) = Hash(String, String).new) : HTTP::Client::Response
Source
post(path : String, body : String | Nil = nil) : HTTP::Client::Response
Source