牙達👍
tRPC2y 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.
Was this page helpful?