module
CryBase::Connectivity::HTTPClient
Defined in:
crybase/connectivity/http_client.crConstant Summary
-
RECONNECT_ERROR_MESSAGE =
"This HTTP::Client cannot be reconnected"
Class Method Summary
- .open(host : String, port : Int32, config : SocketConfig = SocketConfig.new, *, username : String | Nil = nil, password : String | Nil = nil) : Client
- .open(host_port : String, config : SocketConfig = SocketConfig.new, *, username : String | Nil = nil, password : String | Nil = nil) : Client
- .reconnect_error?(error : Exception) : Bool
Class Method Detail
def self.open(host : String, port : Int32, config : SocketConfig = SocketConfig.new, *, username : String | Nil = nil, password : String | Nil = nil) : Client
#
def self.open(host_port : String, config : SocketConfig = SocketConfig.new, *, username : String | Nil = nil, password : String | Nil = nil) : Client
#