Skip to content

Conversation

@wesleytodd
Copy link
Member

@wesleytodd wesleytodd commented Mar 25, 2017

See #49 for previous discussion.

I made a few other notable changes:

  • The events are now given both the request and response. I thought this would be useful if someone wanted to use the response status code in their logging or stats.
  • I added the bubbling that was talked about, but obviously only for the two events now implemented

NOTE: if we decide to move forward with this PR then I can clean up the git history.

hacksparrow and others added 3 commits November 10, 2016 15:01
The following events were added:

1. `handlestart` - emitted when the router starts to handle the
router stack.
2. `layer` - emitted when a layer is macthed by the router. It
returns the matched layer.
3. `handleend` - emitted when the router has completed handling
the router stack.

I am sure very sure about the name of the events, feedback are
most welcome.
@wesleytodd wesleytodd mentioned this pull request Mar 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants