File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed
web_socket_conformance_tests Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
- ## 1.3.1-wip
1
+ ## 1.4.0
2
+
3
+ * ** Experimental** support for the ` package:web_socket ` ` WebSocket ` interface.
2
4
3
5
## 1.3.0
4
6
Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ class ConnectionException extends WebSocketException {
22
22
23
23
/// A [WebSocket] implemented using the
24
24
/// [NSURLSessionWebSocketTask API] (https://developer.apple.com/documentation/foundation/nsurlsessionwebsockettask).
25
+ ///
26
+ /// NOTE: the [WebSocket] interface is currently experimental and may change in
27
+ /// the future.
25
28
class CupertinoWebSocket implements WebSocket {
26
29
/// Create a new WebSocket connection using the
27
30
/// [NSURLSessionWebSocketTask API] (https://developer.apple.com/documentation/foundation/nsurlsessionwebsockettask).
@@ -31,6 +34,9 @@ class CupertinoWebSocket implements WebSocket {
31
34
/// If provided, the [protocols] argument indicates that subprotocols that
32
35
/// the peer is able to select. See
33
36
/// [RFC-6455 1.9] (https://datatracker.ietf.org/doc/html/rfc6455#section-1.9).
37
+ ///
38
+ /// NOTE: the [WebSocket] interface is currently experimental and may change
39
+ /// in the future.
34
40
static Future <CupertinoWebSocket > connect (Uri url,
35
41
{Iterable <String >? protocols, URLSessionConfiguration ? config}) async {
36
42
if (! url.isScheme ('ws' ) && ! url.isScheme ('wss' )) {
Original file line number Diff line number Diff line change 1
1
name : cupertino_http
2
- version : 1.4.0-wip
3
- publish_to : none # Do not merge with this here!
4
-
2
+ version : 1.4.0
5
3
description : >-
6
4
A macOS/iOS Flutter plugin that provides access to the Foundation URL
7
5
Loading System.
@@ -17,8 +15,7 @@ dependencies:
17
15
flutter :
18
16
sdk : flutter
19
17
http : ^1.2.0
20
- web_socket :
21
- path : ../web_socket
18
+ web_socket : ^0.1.0
22
19
23
20
dev_dependencies :
24
21
dart_flutter_team_lints : ^2.0.0
Original file line number Diff line number Diff line change @@ -15,8 +15,7 @@ dependencies:
15
15
dart_style : ^2.3.4
16
16
stream_channel : ^2.1.2
17
17
test : ^1.24.0
18
- web_socket :
19
- path : ../web_socket
18
+ web_socket : ^0.1.0
20
19
21
20
dev_dependencies :
22
21
dart_flutter_team_lints : ^2.0.0
You can’t perform that action at this time.
0 commit comments