package:web_socket
WebSocket
s and make it the default implementation for WebSocketChannel.connect
.WebSocketChannel
constructor.WebSocketChannel
an abstract interface
.IOWebSocketChannel.ready
will throw WebSocketChannelException
instead of WebSocketException
.^3.3
package:web
^0.5.0
.HtmlWebSocketChannel
: Relax the type of the websocket parameter to the constructor in order to mitigate a breaking change introduced in 2.4.1
.web: '>=0.3.0 <0.5.0'
WebSocketChannel.ready
and clarify that WebSocketChannel.ready
should be awaited before sending data over the WebSocketChannel
.ready
in the docs for connect
.pkg:web
to support WebAssembly compilation.customClient
parameter to the IOWebSocketChannel.connect
factory, which allows the user to provide a custom HttpClient
instance to use for the WebSocket connectionready
property to WebSocketChannel
, which completes when the connection is establishedconnectTimeout
parameter to the IOWebSocketChannel.connect
factory, which controls the timeout of the WebSocket Future.HtmlWebSocketChannel.innerWebSocket
getter to access features not exposed through the shared WebSocketChannel
interface.IOWebSocketChannel.innerWebSocket
getter to access features not exposed through the shared WebSocketChannel
interface.protocols
argument to WebSocketChannel.connect
. See the docs for WebSocket.connet
.3.x
).WebSocketChannel.connect
factory constructor supporting platform independent creation of WebSockets providing the lowest common denominator of support on dart:io and dart:html.Socket implements Stream<Uint8List>
stream_channel
version 2.xFixed description in pubspec.
Fixed lints in README.md.
Fixed links in README.md.
Added an example.
Fixed analysis lints that affected package score.
<3.0.0
.async
2.0.0.<2.0.0-dev.infinity
.crypto
2.0.0.Fix all strong-mode errors and warnings.
Fix a bug where HtmlWebSocketChannel.close()
would crash on non-Dartium browsers if the close code and reason weren't provided explicitly.
BASE64
from dart:convert
rather than crypto
.crypto
1.0.0.