Skip to content

Server forwards ping event from the transports Connection.#353

Open
AdamMagaluk wants to merge 1 commit intospdy-http2:masterfrom
AdamMagaluk:master
Open

Server forwards ping event from the transports Connection.#353
AdamMagaluk wants to merge 1 commit intospdy-http2:masterfrom
AdamMagaluk:master

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