Authenticates to the server.
Authenticates to the server.
the server password
1.0.0
[[scredis.exceptions.RedisErrorResponseException]]
if authentication failed
Use the empty string to re-authenticate with no password.
Echoes the given string on the server.
Echoes the given string on the server.
the message to echo
the echoed message
1.0.0
Pings the server.
Pings the server. This command is often used to test if a connection is still alive, or to measure latency.
PONG
1.0.0
Closes the connection.
Closes the connection.
1.0.0
Changes the selected database on the current connection.
Changes the selected database on the current connection.
database index
1.0.0
[[scredis.exceptions.RedisErrorResponseException]]
if the database index is invalid
This trait implements connection commands.