Open zzhengzhuo opened 2 years ago
I'd like to add reconnection for websockets, but I just think of one case:
sender
and receiver
with the new ones when the previous connection is closed and notice to not fuse streams.Is there any other cases I should handle? Thanks for any guides.
In my opinion, there should be three steps to do with connection error:
Any guides? @tomusdrw
I see https://github.com/ethers-io/ethers.js/issues/1053 using interval pings. But I think there may be some custom logic to do if a connection error happened.
Hello. When I use websocket transport for a period, it will report
WS connection error: Closed
error. And I see that there is a featureWebSockets: Reconnecting & Pings
in the doc which has not realized until now. Is there any plan for it? Thanks.