Releases: thoov/mock-socket
Releases · thoov/mock-socket
Updating url parsing logic
Moving away from document.create('a') hack that was used to parse url as it would not work on nodejs.
First Public Beta
First release out to the public.
Correcting the readyState while in the onclose callback
0.0.7 Version bump
Onclose and the close action work as intended with multiple sockets.
The onclose method would sometimes be called multiple times if multiple mock sockets were connected to a single mock server.
Support for multiple mock sockets and mock servers
Adding the ability to support multiple mock servers and have multiple mock socket clients connect to them.
Improvements to message object for PhantomJS
The type property was missing within PhantomJS
MessageEvent object passed to callbacks
Now all onopen, onmessage, onclose, and onerror callbacks receive a more accurate message event object.
Adding tests and fixing tests on TravisCI
Adding close method to the mock server.
Adding first pass of tests for onopen, onmessage, and onclose.
Beta Release
First release to the public. View the README file for examples and instructions.