module NATS::IO

Constants

CLOSED
CONNECTED
CONNECTING
CR_LF
CR_LF_SIZE
DEFAULT_CONNECT_TIMEOUT

Default IO timeouts

DEFAULT_PING_INTERVAL

Ping intervals

DEFAULT_PING_MAX
DEFAULT_PORT
DEFAULT_READ_WRITE_TIMEOUT
DEFAULT_SUB_PENDING_BYTES_LIMIT
DEFAULT_SUB_PENDING_MSGS_LIMIT

Default Pending Limits

DEFAULT_URI
DESC_HDR
DISCONNECTED

Connection States

EMPTY_MSG
LANG
MAX_FLUSH_KICK_SIZE

Maximum number of flush kicks that can be queued up before we block.

MAX_PENDING_SIZE

Maximum accumulated pending commands bytesize before forcing a flush.

MAX_RECONNECT_ATTEMPTS
MAX_SOCKET_READ_BYTES

Maximum number of bytes which we will be gathering on a single read. TODO: Make dynamic?

NATS_HDR_LINE
NATS_HDR_LINE_SIZE
PING_REQUEST
PONG_RESPONSE
PROTOCOL
RECONNECTING
RECONNECT_TIME_WAIT
STATUS_HDR
STATUS_MSG_LEN
SUB_OP
VERSION

NOTE: These are all announced to the server on CONNECT