class Toshi::Api::Options
- Toshi::Api::Options
- Reference
- Object
Defined in:
toshi/options.crConstructors
Instance Method Summary
- #default_headers : HTTP::Headers
- #default_headers=(default_headers : HTTP::Headers)
- #host : String
- #host=(host : String)
- #initial_pool_size : Int32
- #initial_pool_size=(initial_pool_size : Int32)
- #pool_capacity : Int32
- #pool_capacity=(pool_capacity : Int32)
- #pool_timeout : Float64
- #pool_timeout=(pool_timeout : Float64)
- #port : Int32 | Nil
- #port=(port : Int32 | Nil)
- #prefix : String | Nil
- #prefix=(prefix : String | Nil)
- #scheme : String
- #scheme=(scheme : String)
- #sleep_time : Float64
- #sleep_time=(sleep_time : Float64)
- #tls_verify_mode : OpenSSL::SSL::VerifyMode
- #tls_verify_mode=(tls_verify_mode : OpenSSL::SSL::VerifyMode)
Constructor Detail
def self.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)
#