graphql-ws icon indicating copy to clipboard operation
graphql-ws copied to clipboard

Expose onPing and OnPong, similar to onConnect, onDisconnect.......

Open noobProgrammer112 opened this issue 9 months ago • 1 comments

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...

noobProgrammer112 avatar Jul 19 '25 15:07 noobProgrammer112

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!

enisdenjo avatar Aug 28 '25 13:08 enisdenjo