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

feat!: provide context object for callback functions #579

Merged
merged 1 commit into from
Apr 5, 2024

Commits on Apr 5, 2024

  1. feat!: provide context object for callback functions

    This provides a new protocol callback function parameter that provides
    the current client or server object and the connection ID. This allows easily
    identifying the connection that triggered a callback when using multiple
    connections and performing related operations within the protocol.
    
    Fixes #578
    
    BREAKING CHANGE: this changes the prototype for protocol callback functions
    agaffney committed Apr 5, 2024
    Configuration menu
    Copy the full SHA
    a42ba11 View commit details
    Browse the repository at this point in the history