HttpOptions.getProtocol

Get the default HTTP protocol version. The value is "HTTP/2.0" or "HTTP/1.1". If the value is null, the server or client will negotiate a HTTP protocol version using ALPN.

@return the default HTTP protocol version. The value is "HTTP/2.0" or "HTTP/1.1".

class HttpOptions
string
getProtocol
()

Meta