reactphp-legacy/socket-client

Connector 怎么实现重连机制

Closed this issue · 2 comments

cenwj commented

Connector 怎么实现重连机制

Judging by the result of google translate you want to implement reconnecting. You can achieve this to listen on the close and error events on the open connection and open an new connection when either is fired.

clue commented

I believe this has been answered, so I'm closing this for now. Please come back with more details if this problem persists and we can reopen this 👍