Skip to content

Commit 8c5f1b8

Browse files
Remove documentation about WebSocketChannel.new in doc comment (#1823)
1 parent d6dd5ec commit 8c5f1b8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

pkgs/web_socket_channel/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.0.4-wip
2+
3+
- Remove obsolete documentation for `WebSocketChannel.new`.
4+
15
## 3.0.3
26

37
- Support `package:web_socket` 1.0.0.

pkgs/web_socket_channel/lib/src/channel.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ const String _webSocketGUID = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11';
1717
/// A [StreamChannel] that communicates over a WebSocket.
1818
///
1919
/// This is implemented by classes that use `dart:io` and `dart:html`.
20-
/// The [WebSocketChannel.new] constructor can also be used on any platform to
21-
/// connect to use the WebSocket protocol over a pre-existing channel.
2220
///
2321
/// All implementations emit [WebSocketChannelException]s. These exceptions wrap
2422
/// the native exception types where possible.

pkgs/web_socket_channel/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: web_socket_channel
2-
version: 3.0.3
2+
version: 3.0.4-wip
33
description: >-
44
A WebSocket API that enables cross-platform communication via StreamChannel.
55
repository: https://github.com/dart-lang/http/tree/master/pkgs/web_socket_channel

0 commit comments

Comments
 (0)