Overall
SDKs
- Typescript
- @upstash/redis
- @upstash/query
- @upstash/vector
- @upstash/edge-flags
- @upstash/ratelimit
- @upstash/kafka
- @upstash/qstash
- Python
DevOps
- Terraform
- Pulumi
- CLI
Auth
PING
Send a ping to the server and get a response if the server is alive.
Copy
const response = await redis.pong();
console.log(response); // "PONG"
Arguments
No arguments
Response
PONG
Copy
const response = await redis.pong();
console.log(response); // "PONG"
Was this page helpful?
Copy
const response = await redis.pong();
console.log(response); // "PONG"
Assistant
Responses are generated using AI and may contain mistakes.