dotnet / dotnet/AspNetCore.Docs

Usefullness of the methods in the hub class

Open
#15,951 1 comment 2 reactions 0 assignees View on GitHub
doc-enhancement SignalR Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

In the class ClockHub, I would like to know the purpose of the method SendTimeToClients? It's never used anywhere. And if I want to use that method because I have business logic in there, how can I get a hub type exposing that method?

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: 1bbb2d1c-4dfe-3faf-d4b0-65ae1146961e
* Version Independent ID: 6b203f18-adfa-3a18-183d-b124325064c3
* Content: [Host ASP.NET Core SignalR in background services](https://docs.microsoft.com/en-us/aspnet/core/signalr/background-services?view=aspnetcore-2.2#feedback)
* Content Source: [aspnetcore/signalr/background-services.md](https://github.com/aspnet/AspNetCore.Docs/blob/master/aspnetcore/signalr/background-services.md)
* Product: **aspnet-core**
* Technology: **aspnetcore-signalr**
* GitHub Login: @bradygaster
* Microsoft Alias: **bradyg**

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.