module
CryBase::CouchBase::Services::KV::Constants
Defined in:
crybase/couchbase/services/kv/constants.crConstant Summary
-
AGENT =
"crybase" -
User-agent string sent in the HELLO request body.
-
COUNTER_EXTRAS_SIZE =
20 -
Fixed-width extras size for KV counter operations.
-
EXPIRY_EXTRAS_SIZE =
4 -
Fixed-width extras size for KV expiration operations.
-
FEATURE_SELECT_BUCKET =
8_u16 -
HELLO feature code that opts the connection into bucket selection. Sent during the handshake so the server accepts SELECT_BUCKET.
-
HEADER_SIZE =
24 -
Fixed-width header size in bytes for both requests and responses.
-
REQUEST_MAGIC =
128_u8 -
Binary-protocol magic byte indicating an outbound (request) packet.
-
RESPONSE_MAGIC =
129_u8 -
Binary-protocol magic byte indicating an inbound (response) packet.
-
VBUCKET_COUNT =
1024_u16 -
Number of vbuckets in Couchbase buckets.