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.