是服务器还是客户端从socket.io断开连接?

时间:2019-05-08 21:28:32

标签: sockets socket.io

socket.io的新手。我们的socket.io连接停止工作,但未更改任何代码。我是一个socket.io新手,我不知道调试消息是来自客户端还是服务器?请参阅下面标记为(<-服务器或客户端)

的注释

这是日志。

debug: client authorized
info: handshake authorized 3XOoTHNgggggENzb
debug: setting request GET /socket.io/1/websocket/3XOoTHNgggggENzb
debug: set heartbeat interval for client 3XOoTHNgggggENzb
debug: client authorized for 
debug: websocket writing 1::
Wed May 08 2019 15:01:11: proceed: a_5762d07 - {"proceed":false,"ambulance_request_id":"5cd3275","run_id":null}
debug: websocket writing 5:::{"name":"proceed","args":["{\"proceed\":false,\"amb_request_id\":\"5cd4\",\"run_id\":null}"]}
debug: got disconnection packet <-- Server or Client disconnected?
info: transport end by forced client disconnection
debug: websocket writing 0::  <-- Server or Client and what does 0 mean?
info: transport end (booted)

0 个答案:

没有答案