isUpgradeRequest method

bool isUpgradeRequest (HttpRequest request)

Checks whether the request is a valid WebSocket upgrade request.

Implementation

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