WebSocketPatternConnectHandler typedef

WebSocketPatternConnectHandler = Future Function(Uri uri, {Map<String, dynamic>? headers, Match? match, Iterable<String>? protocols})

Implementation

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