Function command

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

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");