hasWebSocketWithoutOriginCheck property

bool get hasWebSocketWithoutOriginCheck

true when a websocket route has no allowedOrigins. AppConfig.webSocketAllowedOrigins is not looked at here.

Implementation

bool get hasWebSocketWithoutOriginCheck =>
    _routes.any((RouteData r) => _noOriginCheck[r] == true);