struct CryBase::Connectivity::SocketConfig

Defined in:

crybase/connectivity/socket_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tls : Bool = false, connect_timeout : Time::Span = 5.seconds, read_timeout : Time::Span | Nil = nil, write_timeout : Time::Span | Nil = nil, tls_verify : Bool = true, tls_hostname : String | Nil = nil, tls_context : OpenSSL::SSL::Context::Client | Nil = nil) #

[View source]

Instance Method Detail

def connect_timeout : Time::Span #

[View source]
def read_timeout : Time::Span | Nil #

[View source]
def tls? : Bool #

[View source]
def tls_context : OpenSSL::SSL::Context::Client | Nil #

[View source]
def tls_hostname : String | Nil #

[View source]
def tls_verify? : Bool #

[View source]
def write_timeout : Time::Span | Nil #

[View source]