module CryBase::Connectivity

Overview

Shared transport helpers used by service-specific clients.

CryBase::Connectivity owns plaintext TCP and TLS socket construction so protocol clients can focus on Couchbase request/response behavior.

Defined in:

crybase/connectivity.cr:5
crybase/connectivity.cr:14

Class Method Summary

Class Method Detail

def self.open_socket(host_port : String, config : SocketConfig = SocketConfig.new) : IO #

[View source]
def self.open_socket(host : String, port : Int32, config : SocketConfig = SocketConfig.new) : IO #

[View source]