Moving IClient interface in ChatHubClientResultsStrongyTyped.cs

pull/138/head
wadepickett 2024-01-17 16:05:08 -08:00
parent c4aee8f944
commit 624a6aa39a
1 changed files with 5 additions and 5 deletions

View File

@ -3,13 +3,13 @@ using static System.Runtime.InteropServices.JavaScript.JSType;
namespace SignalRHubsSample.Hubs;
// <snippet_HubClientResultsStronglyTyped>
public interface IClient
{
Task<string> GetMessage();
}
public class ChatHubClientResultsStronglyTyped : Hub
{
public interface IClient
{
Task<string> GetMessage();
}
public class ChatHub : Hub<IClient>
{
public async Task<string> WaitForMessage(string connectionId)