From 03976934658f9271fa0037be1db081ad869256db Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Fri, 17 May 2024 13:22:15 -0700 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index a4985fb..3ff0637 100644 --- a/README.md +++ b/README.md @@ -64,3 +64,10 @@ other socket exactly why they're closing the connection. [sink]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/sink.html [WebSocketSink]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketSink-class.html [sink.close]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketSink/close.html + +`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. + +[connect]: https://pub.dev/documentation/web_socket_channel/latest/web_socket_channel/WebSocketChannel/WebSocketChannel.connect.html \ No newline at end of file