dotnet / dotnet/aspnetcore

[SignalR cpp] Allow handler registrations while connection is active

Open
#27,445 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.