[SignalR cpp] Allow handler registrations while connection is active
Open
affected-very-few
area-signalr
enhancement
feature-client-c++
severity-minor
- Dominant language
- C#
- Stars
- 38.4k
- Forks
- 10.9k
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 276
Description
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
Contributor guide
Assessment
This issue has not been assessed yet.