socket.io-client-csharp icon indicating copy to clipboard operation
socket.io-client-csharp copied to clipboard

about EmitAsync

Open babizhu opened this issue 1 year ago • 1 comments

private async Task EmitAsync( string eventName, CancellationToken cancellationToken, Action<SocketIOResponse> ack, params object[] data)

why this method has become private? If I want to set a timeout and also directly obtain the response, how should I go about it?

Additionally, is there a method like PingTimeout? That is to say, if no data is received from the server within a specified time, is it possible to capture this event and, if necessary, automatically reconnect?"

babizhu avatar Jan 22 '24 03:01 babizhu

Same question, how to simply set a timeout for EmitAsync?

e8-ZhangSen avatar Jan 30 '24 13:01 e8-ZhangSen