tRPCttRPC
Powered by
牙達👍牙
tRPC•2y ago•
1 reply
牙達👍

How to check websocket is alive from client?

Hi, I am new to trpc, might I know how can I check the websocket connection is alive from client side? (I am doing node to node call)

I tried to subscribe from the client and then close the server, but there is no error or something I can tell the user the connection is dead.
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Does tRPC websocket client supports wss protocol?
peguinyPpeguiny / ❓-help
3y ago
How to check if data is being prefetched?
lukasLlukas / ❓-help
3y ago
Websocket is not defined error
anan7Aanan7 / ❓-help
3y ago