Get HTTP version of incoming request
Try this:
app.use('/', (req, res, next) => {
console.log('Request HTTP Version: ', req.httpVersion)
});
Try this:
app.use('/', (req, res, next) => {
console.log('Request HTTP Version: ', req.httpVersion)
});