Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好 我看代码里面有对心跳ping的操作直接忽略了。那么客户端怎么知道websocket链接还存活着? 如何我想实现ping pong 机制的心跳 怎么实现呢? #3

Open
heweizhen0822 opened this issue Sep 28, 2020 · 2 comments

Comments

@heweizhen0822
Copy link

No description provided.

@heweizhen0822
Copy link
Author

image

@maoqide
Copy link
Owner

maoqide commented Sep 29, 2020

https://github.com/gorilla/websocket/tree/master/examples/command
可以参考下 gorilla/websocket 的 example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants