feat(Abstraktionen): Erstellt, um gemeinsame Schnittstellen zwischen Clients und Hubs für stark typisierte Hubs zu handhaben, um mögliche Fehler zu vermeiden.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
8
DigitalData.Auth.Abstractions/IChatClient.cs
Normal file
8
DigitalData.Auth.Abstractions/IChatClient.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace DigitalData.Auth.Abstractions;
|
||||
|
||||
public interface IChatClient
|
||||
{
|
||||
Task ReceiveMessage(string user, string message);
|
||||
|
||||
Task<string> GetMessage();
|
||||
}
|
||||
Reference in New Issue
Block a user