- Allow
web: '>=0.5.0 <2.0.0'
.
- Allow
1000
as a close code.
- Add a
fakes
function that returns a pair ofWebSocket
s useful in testing.
- Bring the behavior in line with the documentation by throwing
WebSocketConnectionClosed
ratherStateError
when attempting to send data to or close an already closedWebSocket
.
- Fix a
StateError
inIOWebSocket
when data is received from the peer after the connection has been closed locally.
- Add the ability to create a
package:web_socket
WebSocket
given adart:io
WebSocket
.
- Basic functionality in place.