webSocketOriginWarning constant

String const webSocketOriginWarning

the text of the warning of warnWebSocketOrigin

Implementation

static const String webSocketOriginWarning =
    'dox: warning: WebSocket routes do not check the Origin header. Any '
    'website can open a socket with the cookie of a logged in user. To '
    'allow only your own sites, set AppConfig(webSocketAllowedOrigins: '
    "['https://app.example.com']), or allowedOrigins: on Route.websocket. "
    '[] allows the same host only.';