davinkevin / AngularStompDK

Angular service to communicate to Stomp-Websocket
http://davinkevin.github.io/AngularStompDK/
Apache License 2.0
36 stars 12 forks source link

How can I add a header to unSubscribe #46

Closed flacohenao closed 7 years ago

flacohenao commented 7 years ago

It is possible to add a header when the connection is lost (e.g. closing the tab on the browser) or just calling any of the methods

unSubscribeAll unSubscribeOf

thank you.

davinkevin commented 7 years ago

I don't find any information about sending headers in unsubscribe of the original Stomp.js lib : https://github.com/jmesnil/stomp-websocket/blob/master/lib/stomp.js#L396

AngularStompDK is just a wrapper, so if this is not present is the original library, I can't handle it.

flacohenao commented 7 years ago

Thank you very much, and sorry for writing the 'Question Help' here, but as you must know, there is not much about AngularStompSK on stackOverFlow

davinkevin commented 7 years ago

You don't have to apology for question here... ;) And you have a Label for "Question" 😄

Can I close this issue ?

flacohenao commented 7 years ago

yes, you can. thank you.

2016-11-10 0:46 GMT-05:00 Davin Kevin notifications@github.com:

You don't have to apology for question here... ;) And you have a Label for "Question" 😄

Can I close this issue ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/davinkevin/AngularStompDK/issues/46#issuecomment-259606714, or mute the thread https://github.com/notifications/unsubscribe-auth/AJqaJstmC-hAeGwD83LPuHiAzMDqfqoeks5q8q-hgaJpZM4KuO0R .