@@ -25,6 +25,9 @@ typedef ConnectionRetryInterval = ({Duration min, Duration max});
25
25
/// The [protocols] argument is specifying the subprotocols the
26
26
/// client is willing to speak.
27
27
///
28
+ /// The [timeout] argument is specifying the maximum time to wait for the
29
+ /// connection to be established.
30
+ ///
28
31
/// Other arguments are platform dependent.
29
32
///
30
33
/// {@endtemplate}
@@ -85,6 +88,9 @@ abstract base class WebSocketOptions {
85
88
/// If [customClient] is provided, the `WebSocket` created will be configured.
86
89
///
87
90
/// 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.
88
94
/// {@endtemplate}
89
95
factory WebSocketOptions .vm ({
90
96
ConnectionRetryInterval ? connectionRetryInterval,
@@ -120,8 +126,9 @@ abstract base class WebSocketOptions {
120
126
/// The [timeout] argument is specifying the maximum time to wait for the
121
127
/// connection to be established.
122
128
///
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.
125
132
/// {@endtemplate}
126
133
factory WebSocketOptions .js ({
127
134
ConnectionRetryInterval ? connectionRetryInterval,
0 commit comments