easternbloc / node-stomp-client

A STOMP client for Node.js
Other
93 stars 47 forks source link

Adding parameter in publish method to choose message type. #55

Open otaviocx opened 8 years ago

otaviocx commented 8 years ago

The new fourth parameter of the "publish" method can be informed with value "byte" if you need to publish a ByteMessage.

otaviocx commented 8 years ago

Sorry for the falling pull request. I made a mistake that set text messages as default. Now, the byte message is the default option and I create a test for text message (passing the parameter).