Hello, i need help with SignalR component.
I have SignalR Client application (C#)
The below code received the message from server and send result to the server:
connection.On("GetResult", async (string StationID) =>
{
var result = await Console.In.ReadLineAsync();
result = "Received from server: " + Environment.NewLine + "SignalR ID: " + connection.ConnectionId + Environment.NewLine + " Station ID: " + StationID;
return result;
});
The server side code:
string result = "";
result = await _hubContext.Clients.Client(connectionID).InvokeAsync<string>("GetResult", STATIONID,, CancellationToken.None);
My question how i write the client side code in delphi.
Thank you
Dima