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

Support Ping and Pong messages from the GraphQL over WebSocket protocol

Open RunCMD159 opened this issue 4 years ago • 2 comments

Hi, I just refactored my existing graphql-java server to a spring-graphql implementation. But somehow my websocket connection always terminates with invalid message as soon as my apollo-angular client sends an automatic ping messages. I saw that ping/pong is not a supported messagetype in the GraphQLWebsocketHandler.

Am I missing something here? How should i handle ping/pong messages with spring-graphql?

Thank you in advance

RunCMD159 avatar Jan 23 '22 16:01 RunCMD159

This was added to the protocol later so it's just missing.

rstoyanchev avatar Feb 01 '22 18:02 rstoyanchev

Superseded by #270.

rstoyanchev avatar Feb 08 '22 17:02 rstoyanchev