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

Link stream_handler guide and manual (or any other topic really) #1241

Closed
robertoaloi opened this issue Nov 30, 2017 · 2 comments
Closed

Link stream_handler guide and manual (or any other topic really) #1241

robertoaloi opened this issue Nov 30, 2017 · 2 comments

Comments

@robertoaloi
Copy link

robertoaloi commented Nov 30, 2017

Hooks have been removed in Cowboy 2 as explained here.

Specifically, the documentation states that:

Hooks are gone, their functionality can now be achieved via stream handlers.

But the documentation for stream handlers is a bit limited. It would be convenient to show an example of how a onRequest/onResponse hook would look like in Cowboy 2, when implemented as a stream handler.

@robertoaloi
Copy link
Author

Stream handlers are actually documented in a lot more detail in the reference manual.
Probably a good idea to link the two sections.

@essen essen changed the title Migrating hooks to streams Link stream_handler guide and manual (or any other topic really) Oct 3, 2019
@essen
Copy link
Member

essen commented Oct 7, 2019

This is fixed locally but you will need for 2.7 documentation to be uploaded to see it. Closing, thanks!

@essen essen closed this as completed Oct 7, 2019
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

2 participants