proxy-protocol

Parser for the HA Proxy/stud PROXY protocol

npm install proxy-protocol
4 downloads in the last week
4 downloads in the last month

Node.js Proxy Protocol Parser

Parses the HA Proxy/stud proxy protocol line using strtok.

Usage

var proxy_protocol = require("./");

stream.on('proxy', function(obj) {
  console.log('Got proxy details');
  console.log(obj);
});
proxy_protocol.parse(tcp4);
npm loves you