Questions tagged [sgc-websockets]

2 questions
1
vote
1 answer

How to configure SSL in sgcWebSockets 3.2?

I bought an SSL certificate and all I've got is a .crt file. I need to configure a https server on Delphi correctly. I use a module named sgcWebSockets 3.2. As I can see in manual, I need to set the following parameters: 1) SSLOptions/ CertFile/…
splash27
  • 2,057
  • 6
  • 26
  • 49
0
votes
1 answer

How to disconnect from MQTT server when using SGC WebSockets?

I need to connect to MQTT server, get some messages, then reconnect (disconnect and connect again). I'm using sgcWebSockets v4.2.1 and official connect code: // Create websocket client and set server options oClient :=…
Kromster
  • 7,181
  • 7
  • 63
  • 111