connect static method
Implementation
static WebSocketChannel connect(
Uri uri, {
List<String>? protocols,
Map<String, String>? headers,
}) {
return IOWebSocketChannel.connect(
uri,
protocols: protocols,
headers: headers,
);
}
static WebSocketChannel connect(
Uri uri, {
List<String>? protocols,
Map<String, String>? headers,
}) {
return IOWebSocketChannel.connect(
uri,
protocols: protocols,
headers: headers,
);
}