isUpgradeRequest method Null safety
- HttpRequest request
Checks whether the request is a valid WebSocket upgrade request.
Implementation
static bool isUpgradeRequest(HttpRequest request) {
return _WebSocketTransformerImpl._isUpgradeRequest(request);
}