I'm using NodeJS and trying to make a simple server request. I'd like to determine if the server is HTTP/2 or not. If it is, I'd want to use the 'http2'
module to make the request. Otherwise, I'll fall back to the 'http'
/ 'https'
modules to make the request.
With NodeJS, how can I determine if a target remote server uses HTTP/2?
TIA