foo.*
with subject ID of 90
.+OK
indicating successful interest registration.pub
), subject (foo.bar
), and length of the payload (5
). Press enter and provide the payload (hello
), then press enter again.+OK
indicating message publication.MSG
+ subject name + subscription ID + message payload size + message payload hello
.MSG
indicating message receipt.UNSUB
command to unsubscribe from a message.+OK
indicating successful deregistration of interest.ping
requests 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'
.ping
request to the serve and receive a PONG
reply. For example: