class

Toshi::Api::Options

Inherits Reference < Object

Constructors

new(host : String, scheme : String, port : Int32 | Nil, prefix : Nil | String, tls_verify_mode : LibSSL::VerifyMode, default_headers : HTTP::Headers, pool_capacity : Int32, initial_pool_size : Int32, pool_timeout : Float64, sleep_time : Float64)
Source

Instance methods

default_headers
Source
default_headers=(default_headers : HTTP::Headers)
Source
host
Source
host=(host : String)
Source
initial_pool_size
Source
initial_pool_size=(initial_pool_size : Int32)
Source
pool_capacity
Source
pool_capacity=(pool_capacity : Int32)
Source
pool_timeout
Source
pool_timeout=(pool_timeout : Float64)
Source
port
Source
port=(port : Int32 | Nil)
Source
prefix
Source
prefix=(prefix : String | Nil)
Source
scheme
Source
scheme=(scheme : String)
Source
sleep_time
Source
sleep_time=(sleep_time : Float64)
Source
tls_verify_mode
Source
tls_verify_mode=(tls_verify_mode : OpenSSL::SSL::VerifyMode)
Source