This commit is contained in:
ahmed committed 2026-06-08 16:15:57 +03:00
1 parent 8143da2eee
commit 340798a5fa
111 files changed
+20647 -27

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
// Echo.SignalR/EchoHub.cs
using Microsoft.AspNetCore.SignalR;
namespace Esiur.Tests.RPC.SignalRServer;
public class EchoHub : Hub
{
public byte[] EchoBytes(byte[] data) => data;
public BusinessDocument[] EchoDocuments(BusinessDocument[] docs) => docs;
public int[] EchoIntArray(int[] array) => array;
public string[] EchoStringArray(string[] array) => array;
public Dictionary<string, BusinessDocument> EchoMap(Dictionary<string, BusinessDocument> map) => map;
public DocType EchoEnumArray(DocType[] docTypes) => docTypes.Length == 0 ? DocType.Quote : docTypes[^1];
}