Is there a way to make a HTTP/2 request from Salesforce Apex?

The Apex language does not give you any control over what protocol is used when making callouts. The Http class has methods only for send() and toString(), with the former accepting no overloads which would allow you to configure behavior. The HttpRequest class has numerous setter methods, but none of them would allow you to specify protocol either.


From the developer forums:

Salesforce does not support HTTP/2 protocol currently.

Related link: https://success.salesforce.com/ideaView?id=0873A0000015DEtQAM