mock-socket

Javascript mocking library for WebSockets and Socket.IO

MIT License

Downloads
1.7M
Stars
797
Committers
51

Bot releases are hidden (Show)

mock-socket - Updating url parsing logic

Published by thoov over 9 years ago

Moving away from document.create('a') hack that was used to parse url as it would not work on nodejs.

mock-socket - First Public Beta

Published by thoov almost 10 years ago

First release out to the public.

mock-socket - Correcting the readyState while in the onclose callback

Published by thoov almost 10 years ago

mock-socket - Onclose and the close action work as intended with multiple sockets.

Published by thoov almost 10 years ago

The onclose method would sometimes be called multiple times if multiple mock sockets were connected to a single mock server.

mock-socket - Support for multiple mock sockets and mock servers

Published by thoov almost 10 years ago

Adding the ability to support multiple mock servers and have multiple mock socket clients connect to them.

mock-socket - Improvements to message object for PhantomJS

Published by thoov almost 10 years ago

The type property was missing within PhantomJS

mock-socket - MessageEvent object passed to callbacks

Published by thoov almost 10 years ago

Now all onopen, onmessage, onclose, and onerror callbacks receive a more accurate message event object.

mock-socket - Adding tests and fixing tests on TravisCI

Published by thoov almost 10 years ago

Adding close method to the mock server.
Adding first pass of tests for onopen, onmessage, and onclose.

mock-socket - Beta Release

Published by thoov almost 10 years ago

First release to the public. View the README file for examples and instructions.