proxy_server.js 201 B

1234567
  1. var ProxyServer = require('../spec/proxy_server');
  2. var port = process.argv[2],
  3. secure = process.argv[3] === 'tls',
  4. proxy = new ProxyServer({debug: true, tls: secure});
  5. proxy.listen(port);