Skip to content

Commit 803bcbd

Browse files
committed
1.0.0-pre.3
1 parent 11d3f64 commit 803bcbd

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 1.0.0-pre.2
1+
## 1.0.0-pre.3
22

33
- **BREAKING CHANGE**: Change options to separate, platform-specific object
44
- You can now pass a headers and other options to the IO websocket client

lib/src/client/ws_options.dart

+9-2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ typedef ConnectionRetryInterval = ({Duration min, Duration max});
2525
/// The [protocols] argument is specifying the subprotocols the
2626
/// client is willing to speak.
2727
///
28+
/// The [timeout] argument is specifying the maximum time to wait for the
29+
/// connection to be established.
30+
///
2831
/// Other arguments are platform dependent.
2932
///
3033
/// {@endtemplate}
@@ -85,6 +88,9 @@ abstract base class WebSocketOptions {
8588
/// If [customClient] is provided, the `WebSocket` created will be configured.
8689
///
8790
/// If [userAgent] is provided, the `WebSocket` created will be configured.
91+
///
92+
/// The [timeout] argument is specifying the maximum time to wait for the
93+
/// connection to be established.
8894
/// {@endtemplate}
8995
factory WebSocketOptions.vm({
9096
ConnectionRetryInterval? connectionRetryInterval,
@@ -120,8 +126,9 @@ abstract base class WebSocketOptions {
120126
/// The [timeout] argument is specifying the maximum time to wait for the
121127
/// connection to be established.
122128
///
123-
/// The [useBlobForBinary] argument is specifying the Uint8List should be send as
124-
/// Blob or as Typed data. By default, the data send as Typed data.
129+
/// The [useBlobForBinary] argument is specifying the Uint8List
130+
/// should be send as Blob or as Typed data.
131+
/// By default, the data send as Typed data.
125132
/// {@endtemplate}
126133
factory WebSocketOptions.js({
127134
ConnectionRetryInterval? connectionRetryInterval,

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: ws
33
description: >
44
WS: A compact, highly efficient WebSocket library. Easily establish, manage, and reconnect WebSocket connections in real-time apps.
55
6-
version: 1.0.0-pre.2
6+
version: 1.0.0-pre.3
77

88
homepage: https://github.com/plugfox/ws
99

0 commit comments

Comments
 (0)