cometd / cometd-nodejs-server

CometD server for NodeJS
Apache License 2.0
12 stars 4 forks source link

Headers in request #14

Closed leenelc closed 6 years ago

leenelc commented 6 years ago

How do I get the headers of a message published to a channel?

Further, in the cometd-nodejs-client, there is a requestHeaders option in the configuration which I believe sends the same header every time the cometd client publishes to the defined url. Is that true?

sbordet commented 6 years ago

I have updated the documentation to show how to access the context object, see section "Accessing Contextual Information" in README.