module CryBase::Connectivity::HTTPClient

Defined in:

crybase/connectivity/http_client.cr

Constant Summary

RECONNECT_ERROR_MESSAGE = "This HTTP::Client cannot be reconnected"

Class Method Summary

Class Method Detail

def self.open(host : String, port : Int32, config : SocketConfig = SocketConfig.new, *, username : String | Nil = nil, password : String | Nil = nil) : Client #

[View source]
def self.open(host_port : String, config : SocketConfig = SocketConfig.new, *, username : String | Nil = nil, password : String | Nil = nil) : Client #

[View source]
def self.reconnect_error?(error : Exception) : Bool #

[View source]