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

C/C++: add server callbacks for on_un/subscribe #274

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jtbandes
Copy link
Member

@jtbandes jtbandes commented Mar 7, 2025

Changelog

  • C/C++: added server options with callback functions for subscribe and unsubscribe
  • C/C++: added getter for channel id

Docs

N/A

Description

In addition to the features mentioned above:

  • Updated C++ example server to log subscribe/unsubscribe events
  • Added end-to-end C++ test using websocketpp asio client
  • Changed some string_view to string because I learned that string_view is not necessarily null-terminated, but on the Rust side we assume it is

Copy link

linear bot commented Mar 7, 2025

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

Successfully merging this pull request may close these issues.

1 participant