connect abstract method

Future<WebSocketConnection> connect(
  1. HttpRequest request, [
  2. WebSocketConnectionRequest? connectionRequest
])

Implementation

Future<WebSocketConnection> connect(HttpRequest request,
    [WebSocketConnectionRequest? connectionRequest]);