Minimal express-like router for pull-streams.
const pl =const summary =const toPull =const http =var router =routerroutervar server = httpserver
router = new PullHttpRouter(opts)
Create a new PullHttpRouter.
Accepts an options object with the following optional keys:
Create a pull-stream which expects a request object, and returns a readable stream.
Accepts a path to match on, and a stream to stream to. If multiple pull-streams are provided they will be linked together as if they were passed to pull-stream core's
$ npm install pull-http-router