Skip to content

How to reconnect ws when waking up from sleep on smartphone? #580

Answered by enisdenjo
alyweb66 asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there! If the client is not automatically retrying to connect - the socket is closing with a fatal problem. To change what's considered fatal in graphql-ws, you can use the shouldRetry option. Hope that helps!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by alyweb66
Comment options

You must be logged in to vote
2 replies
@enisdenjo
Comment options

@alyweb66
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants