foo.*with subject ID of
+OKindicating successful interest registration.
pub), subject (
foo.bar), and length of the payload (
5). Press enter and provide the payload (
hello), then press enter again.
+OKindicating message publication.
MSG+ subject name + subscription ID + message payload size + message payload
MSGindicating message receipt.
UNSUBcommand to unsubscribe from a message.
+OKindicating successful deregistration of interest.
pingrequests from the server. If your client is not active, or does not respond to the server pings within the ping/pong interval, the server disconnects the client. The error message is
-ERR 'Stale Connection'.
pingrequest to the serve and receive a
PONGreply. For example: