From f7fd087f0b39c84e97f19d7cded6226994db453f Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Fri, 17 May 2024 15:19:29 -0700 Subject: [PATCH] Remove obsolete `WebSocketChannel.new` documentation. (dart-lang/web_socket_channel#363) --- pkgs/web_socket_channel/CHANGELOG.md | 1 + pkgs/web_socket_channel/README.md | 15 +++------------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/pkgs/web_socket_channel/CHANGELOG.md b/pkgs/web_socket_channel/CHANGELOG.md index d1b3d1811f..0344397e7d 100644 --- a/pkgs/web_socket_channel/CHANGELOG.md +++ b/pkgs/web_socket_channel/CHANGELOG.md @@ -1,6 +1,7 @@ ## 3.0.1-wip - Remove unnecessary `dependency_overrides`. +- Remove obsolete documentation for `WebSocketChannel.new`. ## 3.0.0 diff --git a/pkgs/web_socket_channel/README.md b/pkgs/web_socket_channel/README.md index 35f16c810c..3ff06372cf 100644 --- a/pkgs/web_socket_channel/README.md +++ b/pkgs/web_socket_channel/README.md @@ -68,15 +68,6 @@ other socket exactly why they're closing the connection. `WebSocketChannel` also works as a cross-platform implementation of the WebSocket protocol. The [`WebSocketChannel.connect` constructor][connect] connects to a listening server using the appropriate implementation for the -platform. The [`WebSocketChannel()` constructor][new] takes an underlying -[`StreamChannel`][stream_channel] over which it communicates using the WebSocket -protocol. It also provides the static [`signKey()`][signKey] method to make it -easier to implement the [initial WebSocket handshake][]. These are used in the -[`shelf_web_socket`][shelf_web_socket] package to support WebSockets in a -cross-platform way. - -[connect]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/WebSocketChannel.connect.html -[new]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/WebSocketChannel.html -[signKey]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/signKey.html -[initial WebSocket handshake]: https://tools.ietf.org/html/rfc6455#section-4.2.2 -[shelf_web_socket]: https://pub.dev/packages/shelf_web_socket +platform. + +[connect]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/WebSocketChannel.connect.html \ No newline at end of file