Skip to content

[SignalR cpp] Allow handler registrations while connection is active #27445

Open
@BrennanConroy

Description

@BrennanConroy

Currently hubConnection.on(...) will throw if the connection is active, this isn't the pattern we follow in the other clients and we should allow handlers to be registered while the connection is running.

https://github.com/aspnet/SignalR-Client-Cpp/blob/bcea0940576306ff625caa508b4f6a2a80d3fbe3/src/signalrclient/hub_connection_impl.cpp#L83-L86

Metadata

Metadata

Assignees

No one assigned

    Labels

    affected-very-fewThis issue impacts very few customersarea-signalrIncludes: SignalR clients and serversenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-client-c++Related to the SignalR C++ clientseverity-minorThis label is used by an internal tool

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions