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

Server forwards ping event from the transports Connection. #353

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AdamMagaluk
Copy link
Contributor

Pass the ping event on the transports connection to the
server's EventEmitter as the _ping event. The event passes
the client requests socket to allow users to identify the the
socket sending the ping request.

Note: I choose _ping with the underscore to identify that
the typical use case is internal and unlikely to be used. Similar
to https://github.com/spdy-http2/node-spdy/blob/master/lib/spdy/agent.js#L71

Pass the `ping` event on the transports connection to the
server's EventEmitter as the `_ping` event. The event passes
the client requests socket to allow users to identify the the
socket sending the ping request.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant