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

standard way to map an http server onto a stream. #6

Open
AdrianRossouw opened this issue Jul 31, 2015 · 0 comments
Open

standard way to map an http server onto a stream. #6

AdrianRossouw opened this issue Jul 31, 2015 · 0 comments

Comments

@AdrianRossouw
Copy link
Contributor

So while thinking about the idea of authenticated streams using passport, and it occured to me that you just needed a standard way to represent an http request as a graft message. turn those messages into http requests , and turn the responses back into graft messages.

so you could mount an http server or express stack as a stream function. that would allow you to mount passport on it, and do some other pretty nifty things.

maybe even something like this for graft : http://hueniverse.com/2015/06/02/introducing-chairo-a-hapi-js-microservices-plugin/

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

No branches or pull requests

1 participant