HTTPClient/RestClient/TokenRequest/OAuthRequest objects support connection using HTTP/2:
-
EnableHttp2 property -- This property is set to True by default; which means the HTTP/2 connection is used by default when sending requests. You can set this property value to false if you don't want to use HTTP/2 connection. In the environment where HTTP/2 is not well supported, the system will fall back to HTTP/1.1 and continue the transaction.
HTTPClient/RestClient/TokenResponse/ResourceResponse objects can get the HTTP protocol version that is currently in use:
-
GetHttpVersion function -- Gets the HTTP protocol version used in communication.