class NATS::Client::Connection

Defined in:

nats/client/connection.cr

Constant Summary

BUFFER_SIZE = 65535_u16

Constructors

Instance Method Summary

Constructor Detail

def self.new(uri : URI) #

[View source]

Instance Method Detail

def activate_tls(tls_config : OptionsTLSHash | Nil = nil) : Void #

[View source]
def disconnect : Void #

[View source]
def read_command : String | Nil #

[View source]
def read_data(bytesize : UInt32) : Bytes #

[View source]
def write(data : String) : Void #

[View source]