- Allow
web: '>=0.5.0 <2.0.0'.
- Allow
1000as a close code.
- Add a
fakesfunction that returns a pair ofWebSockets useful in testing.
- Bring the behavior in line with the documentation by throwing
WebSocketConnectionClosedratherStateErrorwhen attempting to send data to or close an already closedWebSocket.
- Fix a
StateErrorinIOWebSocketwhen data is received from the peer after the connection has been closed locally.
- Add the ability to create a
package:web_socketWebSocketgiven adart:ioWebSocket.
- Basic functionality in place.