WebSocketConnectHandler typedef
WebSocketConnectHandler =
Future Function(Uri uri, {Map<String, dynamic> headers, Iterable<String> protocols})
Implementation
typedef WebSocketConnectHandler
= Future<dynamic /*WSocket|MockWebSocketServer*/ > Function(Uri uri,
{Map<String, dynamic> headers, Iterable<String> protocols});