Detect connection protocol (HTTP/2, spdy) from javascript

Viewed 1188

Is it possible to get the protocol that the browser used to get the active page?
Something like:

performance.navigation.protocol // e.g. "HTTP/2" or "SPDY/3.1" or "HTTP/1.1"

I know that it's possible to detect the protocol server side and then pass the info, but I'm looking for a JS solution.

(a similar question contains a broken link and no answer)

1 Answers
Related