You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hooks have been removed in Cowboy 2 as explained here.
Specifically, the documentation states that:
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.
The text was updated successfully, but these errors were encountered: