mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
GitBook: [master] 61 pages modified
This commit is contained in:
committed by
gitbook-bot
parent
ed6c1ba06d
commit
de933e912d
@@ -28,7 +28,7 @@ You will use these sessions to run the NATS request and reply clients.
|
||||
% go run nats-rply/main.go help.please "OK, I CAN HELP!!!"
|
||||
```
|
||||
|
||||
You should see the message: _Listening on \[help.please\]_
|
||||
You should see the message: _Listening on \[help.please\]_
|
||||
|
||||
This means that the NATS receiver client is listening for requests messages on the "help.please" subject. In NATS, the receiver is a subscriber.
|
||||
|
||||
@@ -41,3 +41,4 @@ This means that the NATS receiver client is listening for requests messages on t
|
||||
The NATS requestor client makes a request by sending the message "I need help!" on the “help.please” subject.
|
||||
|
||||
The NATS receiver client receives the message, formulates the reply \("OK, I CAN HELP!!!"\), and sends it to the inbox of the requester.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user