class Memcached::Response
- Memcached::Response
- Reference
- Object
Defined in:
memcached/response.crConstant Summary
-
STATUSES =
{"no_error" => 0, "key_not_found" => 1, "key_exists" => 2, "value_too_large" => 3, "invalid_arguments" => 4, "item_not_stored" => 5, "incr_recr_on_non_numeric_value" => 6, "the_vbucket_belongs_to_another_server" => 7, "authentication_error" => 8, "authentication_continue" => 9, "unknown_command" => 129, "out_of_memory" => 130, "not_supported" => 131, "internal_error" => 132, "busy" => 133, "temporary_failure" => 134}
Constructors
Instance Method Summary
- #body : Slice(UInt8)
- #extras : Slice(UInt8)
- #key_length : Int32
- #opcode : UInt8
- #status_code : UInt8
- #status_is?(status)
- #successful?
- #version : Int64
Constructor Detail
def self.new(status_code : UInt8, opcode : UInt8, key_length : UInt32, body : Slice(UInt8), extras : Slice(UInt8), version : Int64)
#