Skip to content

Commit

Permalink
1.0.0-pre.3
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugFox committed Jul 16, 2023
1 parent 11d3f64 commit 803bcbd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.0.0-pre.2
## 1.0.0-pre.3

- **BREAKING CHANGE**: Change options to separate, platform-specific object
- You can now pass a headers and other options to the IO websocket client
Expand Down
11 changes: 9 additions & 2 deletions lib/src/client/ws_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ typedef ConnectionRetryInterval = ({Duration min, Duration max});
/// The [protocols] argument is specifying the subprotocols the
/// client is willing to speak.
///
/// The [timeout] argument is specifying the maximum time to wait for the
/// connection to be established.
///
/// Other arguments are platform dependent.
///
/// {@endtemplate}
Expand Down Expand Up @@ -85,6 +88,9 @@ abstract base class WebSocketOptions {
/// If [customClient] is provided, the `WebSocket` created will be configured.
///
/// If [userAgent] is provided, the `WebSocket` created will be configured.
///
/// The [timeout] argument is specifying the maximum time to wait for the
/// connection to be established.
/// {@endtemplate}
factory WebSocketOptions.vm({
ConnectionRetryInterval? connectionRetryInterval,
Expand Down Expand Up @@ -120,8 +126,9 @@ abstract base class WebSocketOptions {
/// The [timeout] argument is specifying the maximum time to wait for the
/// connection to be established.
///
/// The [useBlobForBinary] argument is specifying the Uint8List should be send as
/// Blob or as Typed data. By default, the data send as Typed data.
/// The [useBlobForBinary] argument is specifying the Uint8List
/// should be send as Blob or as Typed data.
/// By default, the data send as Typed data.
/// {@endtemplate}
factory WebSocketOptions.js({
ConnectionRetryInterval? connectionRetryInterval,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: ws
description: >
WS: A compact, highly efficient WebSocket library. Easily establish, manage, and reconnect WebSocket connections in real-time apps.
version: 1.0.0-pre.2
version: 1.0.0-pre.3

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

Expand Down

0 comments on commit 803bcbd

Please sign in to comment.