How to use http2-proxy - 1 common examples

To help you get started, we’ve selected a few http2-proxy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github creatorsdaily / client.creatorsdaily.com / app.js View on Github external
server.on('request', (req, res) => {
  proxy.web(req, res, {
    hostname: 'localhost',
    port: 3000
  })
})

http2-proxy

A simple http/2 & http/1.1 spec compliant proxy helper for Node.

MIT
Latest version published 3 years ago

Package Health Score

54 / 100
Full package analysis

Popular http2-proxy functions