graphql-ws
graphql-ws copied to clipboard
Expose onPing and OnPong, similar to onConnect, onDisconnect.......
I have a requirement where i have to log the subprotocol level ping/pong received.
I have seen the recipe for it, it works but.... feels offf
can we provide onPing and onPong, similar to onConnect, ... like a method with access to context...
Makes sense, why not. We just have to keep in mind the current recipe and make sure we cover the needs showcased there. A PR is very welcome!