node-proxy-protocol / 1.0.0 last updated 3 years ago created on Sep 18th 2012

Install

npm install --save node-proxy-protocol

Clone

git clone git@github.com:racker/node-proxy-protocol.git

dependencies

main strtok 0.1.1 BSD 4-Clause

maintainers

philips

versions

1.0.0 3 years ago philips
5 Downloads yesterday.

readme

Node.js Proxy Protocol Parser

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

Usage

1
2
3
4
5
6
var proxy_protocol = require("./");

proxy_protocol.parse(tcp4, function(err, obj) {
  console.log('Got proxy details');
  console.log(obj);
});
Resolving all dependencies.. This could take a while as our cache is not yet fully warmed up.