Skip to content

Commit

Permalink
Update reference/nats-protocol/nats-protocol/README.md
Browse files Browse the repository at this point in the history
add suggestion

Co-authored-by: Byron Ruth <[email protected]>
  • Loading branch information
tbeets and bruth authored Oct 10, 2022
1 parent b737847 commit 1181031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reference/nats-protocol/nats-protocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ To publish an empty message to subject NOTIFY:

### Description

The `HPUB` message is the same as `PUB` but extends the message payload to include NATS headers. Note that the payload itself is optional. To omit the payload, set the total message size equal the size of the headers. Note that the trailing CR+LF is still required.
The `HPUB` message is the same as `PUB` but extends the message payload to include NATS headers. Note that the payload itself is optional. To omit the payload, set the total message size equal to the size of the headers. Note that the trailing CR+LF is still required.

NATS headers are similar, in structure and semantics, to HTTP headers as `name: value` pairs including supporting multi-value headers. Headers can be mixed case and NATS will preserve case between message publisher and message receiver(s). See also [ADR-4 NATS Message Headers](https://github.com/nats-io/nats-architecture-and-design/blob/main/adr/ADR-4.md).

Expand Down

0 comments on commit 1181031

Please sign in to comment.