Module: MemcachedServer::ReplyFormat

Defined in:
lib/memcached-server/constants.rb

Constant Summary collapse

GET =

Each item sent by the server has this format

/VALUE (?<key>\w+) (?<flags>\d+) (?<bytes>\d+)/.freeze
GETS =
/VALUE (?<key>\w+) (?<flags>\d+) (?<bytes>\d+) (?<cas_id>\d+)/.freeze
END_ =

To indicate the end of reply.

/END/.freeze