title: Get HTTP version of incoming request
body: <p>How can I extract the HTTP version of an incoming request using express?</p>
  
  <p>I need something like:</p>
  
  <pre><code>app.use('/', (req, res, next) =&gt; {
      req.getHttpVersion() // 'HTTP 1.0'/'HTTP 1.1'/'HTTP 2.0'
  });
  </code></pre>