Open bxjg1987 opened 5 months ago
We should add @mikekistler as the owner for this one.
Looking at the doc, I think the answer to this question is "No". The doc says:
Define methods the hub calls using connection.On after building, but before starting the connection.
So based on the doc, I believe that all methods must be defined before starting the connection.
Description
Does the. net client support dynamically adding new methods after connection to provide them for the server to call
Page URL
https://learn.microsoft.com/zh-cn/aspnet/core/signalr/dotnet-client?view=aspnetcore-8.0&tabs=visual-studio
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/signalr/dotnet-client.md
Document ID
36052173-7061-6d01-8aed-915685cd7cf6
Article author
@bradygaster