Closed franDayz closed 7 years ago
Ok, I've done in in test env, if all is ok, I'll commit and release it tomorrow.
The method on the provider will have be .headers({foo: 'bar'})
You can find this in the release 0.11.0
Don't hesitate to open an issue if you found a bug. I've checked if there is any regression, but I don't have system working with header on connection to test it.
Thanks! Works like a charm :D
Glad to know it 😄
Thanks for the support!!
Currently headers can be provided via .withHeaders() when subscribing. However there are scenarios in which it is required to specify headers when connecting, for example in order to have a a durable subscriber to an ActiveMQ topic. You need to specify a client id on connect and subscription name on subscribe, which looks like this with pure stomp.js:
It would be cool to have something like this