Skip to content

dominictarr/reconnect-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published