-
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
3 changed files
with
57 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters