Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

pipe().pipe() request and response and router like connect

branch: master

update logger

latest commit 8b5263fac4
XueFei authored
bin Add first src codes.
lib update logger
streamPlugins update logger
test Add first src codes.
README.md Add first src codes.
index.js update logger
package.json update logger
README.md

About request.pipe

rquest.pipe is a piped chain request module for node.js

  • You can use it like pipe(stream1).pipe(stream2).pipe(stream-X);
  • Chaining stream for request and response
  • connect style router pipes for request and response depends on request and response headers;

It`s here ... now!...^_^

Usage

  1. install module request.pipe: npm install request.pipe (not push tu npm repo);
  2. use bin/config.js enable desable exists plugins;
  3. write your own strem module or use exits stream module. see example:./streamPlugins/streamIconv.js
  4. add stream to routers by order. request.addRouter();
  5. usage example: ./test/requestTest.js

TODO List

  • Improve interface and fix bugs.
  • Refactor and improve documents.
Something went wrong with that request. Please try again.