Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manner core HTTP free #38

Open
bredele opened this issue Jan 22, 2018 · 0 comments
Open

Manner core HTTP free #38

bredele opened this issue Jan 22, 2018 · 0 comments

Comments

@bredele
Copy link
Contributor

bredele commented Jan 22, 2018

We should think about creating a duplex stream that is independent from HTTP requests.

var api = manner({})

// somewhere in a http server
input(req, res)
  .pipe(api)
  .pipe(res)

It might be in a separate module. This would allow to be transport free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant