isUpgradeRequest property

bool get isUpgradeRequest

Whether the active request is a websocket upgrade attempt.

Implementation

bool get isUpgradeRequest =>
    _event.context.webSocket?.isUpgradeRequest ?? false;