lahsivjar / react-stomp

React websocket component for STOMP protocol over SockJs
https://www.npmjs.com/package/react-stomp
MIT License
134 stars 41 forks source link

Add 'autoDecode' prop to allow prevent json decoding by default #202

Closed bvnflatliner closed 2 years ago

bvnflatliner commented 2 years ago

In some cases it could be very useful to get a raw message even it is json encoded.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 655


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/client.jsx 2 3 66.67%
<!-- Total: 2 3 66.67% -->
Totals Coverage Status
Change from base Build 640: -1.5%
Covered Lines: 82
Relevant Lines: 84

💛 - Coveralls
bvnflatliner commented 2 years ago

Oh, no... I don't know what is that coverage is... If it related to TDD, so I did never use it before :( I supposed it will too easy to add this small feature, but I am dumb :[ So I retreat.