Dev-Tony
Dev-Tony
你好, 能介绍一下协程和线程池的区别吗?
ok, understand. Thank you.
I prefer client and server both can send ping pong, I will open another issue to track it.
okHttp-ws actual has implement this feature, but interface is not disclosed. The implementation would be a simple change. Check this code ``` java public RealWebSocket(boolean isClient, BufferedSource source, BufferedSink sink,...
Yes, I think so.
I hope application layer can handle the response data of pong depends on the input from ping data, not just simply return pong taking ping data. for example: server: ping(A)...
Yes, you are right. But I still hope application layer would be notified while receiving ping, so we can handle heartbeat by application.
I agree the example is a mistake. But the spec does motion application layer should not be noticed on ping.
@abhigyanpatwari any advice?