protocolVersion property

String get protocolVersion

The HTTP version of the request: 1.0, 1.1 or 2.0. It is 2.0 only when AppConfig.http2 is on and the client used HTTP/2.

req.protocolVersion;

Implementation

String get protocolVersion {
  return httpRequest.protocolVersion;
}