We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
要获取client的真实地址,只能在 websocket 的 upgrade 阶段
需要直接重写覆盖 node 的 StartUp方法 https://github.com/lonng/nano/blob/master/interface.go#L57 不改nano的方式,就是重写Listen,Listen内部调用自己的node.Startup(), 自己的node可以继承(组合)nano.Node, 覆写 Startup 方法
The text was updated successfully, but these errors were encountered:
No branches or pull requests
要获取client的真实地址,只能在 websocket 的 upgrade 阶段
需要直接重写覆盖 node 的 StartUp方法
https://github.com/lonng/nano/blob/master/interface.go#L57
不改nano的方式,就是重写Listen,Listen内部调用自己的node.Startup(), 自己的node可以继承(组合)nano.Node, 覆写 Startup 方法
The text was updated successfully, but these errors were encountered: