WSClient.Active := True;
If WSClient.Active then
Beep;
end;
In different options I can not establish a connection.
I easy establish connection in T*************on component. But cant do this in TsgcWebSocketClient / TsgcWSAPI_SignalR.
Without more info I cannot help you, please answer the following questions below:
1. Are you trying to connecto to a SignalR or a SignalRCore server? the protocols are different
2. The server requires some type of authentication? if yes, which? in your code seems you are trying to setup some type of authentication, but not sure which.
3. WSClient.URL := 'https://moxxx.xxxxl:9248/xxxxomSR/notify' ... won't work, only ws or tcp works for websocket component. Use the following
1. I'm try connect to SignaRcore server with using .NET 6.0
2. Yes Basic Authentication (bellow example client in C#)
3. My serwer works on IIS and use https protocol
bellow client in C# works very well:
var url = "https://moxxx.xxxxl:9248/xxxxomSR/notify";
var credential = Convert.ToBase64String(System.Text.Encoding.GetEncoding("UTF-8").GetBytes("userrrrr" + ":" + "xxxxxxxxxxxx"));
Hello,
As far as I understand Connect is served on the TsgcWebSocketClient component. Communication on SognalR Core right?
I'm stuck on the connection.
Firstly, I reached the OnException event that there are not enough Indy libraries in Demo Example. Ok added them libeay32.dll, ssleay32.dll