assert redis.echo("hello world") == "hello world"

Returns a message back to you. Useful for debugging the connection.

Arguments

message
str
required

A message to send to the server.

Response

The same message you sent.

assert redis.echo("hello world") == "hello world"