Pass a copy of the control frame buffer to ping/pong callbacks (#116)
Pass a copy of the control frame buffer to callbacks
Add back old API
Since the new and old methods are only overloads and share the same name, the ‘renamed’ parameter of the deprecation warning doesn’t help.
Allow specifying payload when sending ping
Remove default value in favor of method forwarding
This preserves the signature of the original method and doesn’t break the API
- Apply suggestions from code review
New APIs should use safe code
Co-authored-by: Tim Condon 0xTim@users.noreply.github.com
版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9
京公网安备 11010802032778号