Some servers requires the client to send ping to prevent connection from being broken due to idling. We have added WithKeepAlive which accepts time.Duration that will be use as interval for doing a continuous ping to the server. This is also implemented in npm package graphql-ws.
WithRetryDelay makes retry delay customizable. If not set it will use the default (currently hard coded 1 second).
Some servers requires the client to send ping to prevent connection from being broken due to idling. We have added
WithKeepAlive
which acceptstime.Duration
that will be use as interval for doing a continuous ping to the server. This is also implemented in npm package graphql-ws.WithRetryDelay
makes retry delay customizable. If not set it will use the default (currently hard coded 1 second).