Support foreach(k, v; response)
Support foreach(v; response)
Support foreach_reverse(k, v; response)
Support foreach_reverse(v; response)
Allows casting a Response to an integral, bool or string
Allows casting a Response to (u)byte[]
Attempts to check for truthiness of a Response.
Attempts to convert a response to an array of bytes
Returns the value of this Response as a string, along with type information
Converts a Response to an integral (byte to long)
Returns the value of this Response as a string
Returns the value of this Response as a string array
The Response struct represents returned data from Redis.
Stores values true to form. Allows user code to query, cast, iterate, print, and log strings, ints, errors and all other return types.
The role of the Response struct is to make it simple, yet accurate to retrieve returned values from Redis. To aid this it implements D op* functions as well as little helper methods that simplify user facing code.