0.0.0 • Published 10 years ago

reconnect-http v0.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

reconnect-http

Automatically reconnect a streaming http connection, using request and reconnect-core

var reconnect = require('reconnect-http')

reconnect(function (request) {
  input.pipe(request).pipe(output)
}).connect({url: url, headers: {...}})

The arguments to .connect can any arguments that request can accept.

This module is just a wrapper around reconnect-core

Further documentation available at reconnect

License

MIT