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:
Developer 02
2025-01-23 15:36:50 +01:00
parent 54ecf1f4da
commit f562690b19
4 changed files with 32 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0;net8.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

View File

@@ -0,0 +1,8 @@
namespace DigitalData.Auth.Abstractions;
public interface IChatClient
{
Task ReceiveMessage(string user, string message);
Task<string> GetMessage();
}