isUpgradeRequest method

bool isUpgradeRequest (
  1. HttpRequest request
)

Checks whether the request is a valid WebSocket upgrade request.

Implementation

static bool isUpgradeRequest(HttpRequest request) {
  return _WebSocketTransformerImpl._isUpgradeRequest(request);
}