nats-io / nats-architecture-and-design

Architecture and Design Docs
Apache License 2.0
170 stars 20 forks source link

Header design #274

Open hooksie1 opened 1 month ago

hooksie1 commented 1 month ago

Referring to this PR https://github.com/nats-io/nats.go/pull/1584 this includes an add() method to add a header key and value. This would facilitate extra context since the service doesn't have direct access to the request.

Also documents existing header methods (at least for the Go micro package).