NAME
Redis::Client::Role::URP - Role for the Redis Unified Request Protocol
VERSION
version 0.015
SYNOPSIS
use Moose;
has host => ( ... )
has port => ( ... )
with 'Redis::Client::Role::URP';
DESCRIPTION
This role implements the Unified Request Protocol used by Redis 2.0 and above.
METHODS
send_command
Sends a command to Redis using the URP and returns the response. Takes the name of the command and a list of arguments.
$self->send_command( 'DEL', 'key1', 'key2', 'key3' );
AUTHOR
Mike Friedman <friedo@friedo.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2011 by Mike Friedman.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.