请问如何规范的使用ping pong心跳
manuel76413 opened this issue · comments
manuel76413 commented
请问下如何规范的与前端页面代码发送ping/pong对作为心跳包,从而保持长连接
也就是问需要怎么发送,而不是如网上大多数实例代码一样,简单的发个文本字符串
manuel76413 commented
查了资料,浏览器内的websocket没有对应功能
a modern, rapid,cross-platform web development framework developed in c++17
manuel76413 opened this issue · comments
请问下如何规范的与前端页面代码发送ping/pong对作为心跳包,从而保持长连接
也就是问需要怎么发送,而不是如网上大多数实例代码一样,简单的发个文本字符串
查了资料,浏览器内的websocket没有对应功能