[][src]Function redis_asio::command

pub fn command(cmd: &str) -> RedisCommand

Make a Redis command represents array of BulkStrings wrapped into RedisCommand.

Example

use redis_asio::command;
let cmd = redis_asio::command("SET").arg("foo").arg("bar");