web_socket_channel/src/_connect_io library

Functions

connect(Uri uri, {Iterable<String>? protocols, Duration? connectTimeout}) Future<WebSocketChannel>
Creates a new WebSocket connection.