Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gcolliso authored Mar 27, 2023
1 parent 597e552 commit d2896c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/nats-protocol/nats-protocol-demo.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ An `+OK` message will follow, indicating a successful subscription.

NATS connection are bi-directional, so we can not only subscribe to subjects, but we can publish to them as well.

We can send the `PUB` command followed by the subject, and the length of the message payload that will be follow on the second line. In this case, `hello` is the payload. Once that is typed, hit return which will send the message.
We can send the `PUB` command followed by the subject, and the length of the message payload that will be followed on the second line. In this case, `hello` is the payload. Once that is typed, hit return which will send the message.

```text
PUB foo.bar 5
Expand Down

0 comments on commit d2896c0

Please sign in to comment.