Skip to main content
Documentation
API Reference
Search
⌘K
Ask AI
⌘I
Discord
Blog
Twitter
Console
Redis
/
/
SDKs
/
Python
/
Commands
/
Auth
PING
Send a ping to the server and get a response if the server is alive.
1 min read
Copy as Markdown
Arguments
#
No arguments
Response
#
ECHO
CLIENT SETINFO
Example
assert
redis.ping()
==
"PONG"