Skip to content

Instance Method

send(command:with:)

Sends the desired command with the specified arguments.
func send(command: String, with arguments: [RESPValue]) -> EventLoopFuture<RESPValue>

Parameters

command

The command to execute.

arguments

The arguments, if any, to be sent with the command.

Return Value

A NIO.EventLoopFuture that will resolve with the Redis command response.