READONLY
Accepts a connection read-mode request.
Server & administration · Example verified
Syntax covered here
READONLYOnly acceptance on a standalone server is verified; replica reads and cluster read routing are not demonstrated.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> READONLY
"OK"