Skip to content

Commit f7fd087

Browse files
authored
Remove obsolete WebSocketChannel.new documentation. (dart-archive/web_socket_channel#363)
1 parent 9c7a42b commit f7fd087

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

pkgs/web_socket_channel/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## 3.0.1-wip
22

33
- Remove unnecessary `dependency_overrides`.
4+
- Remove obsolete documentation for `WebSocketChannel.new`.
45

56
## 3.0.0
67

pkgs/web_socket_channel/README.md

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ other socket exactly why they're closing the connection.
6868
`WebSocketChannel` also works as a cross-platform implementation of the
6969
WebSocket protocol. The [`WebSocketChannel.connect` constructor][connect]
7070
connects to a listening server using the appropriate implementation for the
71-
platform. The [`WebSocketChannel()` constructor][new] takes an underlying
72-
[`StreamChannel`][stream_channel] over which it communicates using the WebSocket
73-
protocol. It also provides the static [`signKey()`][signKey] method to make it
74-
easier to implement the [initial WebSocket handshake][]. These are used in the
75-
[`shelf_web_socket`][shelf_web_socket] package to support WebSockets in a
76-
cross-platform way.
77-
78-
[connect]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/WebSocketChannel.connect.html
79-
[new]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/WebSocketChannel.html
80-
[signKey]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/signKey.html
81-
[initial WebSocket handshake]: https://tools.ietf.org/html/rfc6455#section-4.2.2
82-
[shelf_web_socket]: https://pub.dev/packages/shelf_web_socket
71+
platform.
72+
73+
[connect]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/WebSocketChannel.connect.html

0 commit comments

Comments
 (0)