class Toshi::Api::Options

Defined in:

toshi/options.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def default_headers : HTTP::Headers #

[View source]
def default_headers=(default_headers : HTTP::Headers) #

[View source]
def host : String #

[View source]
def host=(host : String) #

[View source]
def initial_pool_size : Int32 #

[View source]
def initial_pool_size=(initial_pool_size : Int32) #

[View source]
def pool_capacity : Int32 #

[View source]
def pool_capacity=(pool_capacity : Int32) #

[View source]
def pool_timeout : Float64 #

[View source]
def pool_timeout=(pool_timeout : Float64) #

[View source]
def port : Int32 | Nil #

[View source]
def port=(port : Int32 | Nil) #

[View source]
def prefix : String | Nil #

[View source]
def prefix=(prefix : String | Nil) #

[View source]
def scheme : String #

[View source]
def scheme=(scheme : String) #

[View source]
def sleep_time : Float64 #

[View source]
def sleep_time=(sleep_time : Float64) #

[View source]
def tls_verify_mode : OpenSSL::SSL::VerifyMode #

[View source]
def tls_verify_mode=(tls_verify_mode : OpenSSL::SSL::VerifyMode) #

[View source]