On Wed, 8 Nov 2023, k1 via fpc-pascal wrote:


Hi guys,

do somone know how to enable ssl with the websocket semod

fcl-web/examples/websocket/server/wsserver
fcl-web/examples/websocket/client/wsclient

the client working fine with a node websocket server,
with just one command more

FClient.UseSSL := True;
and uses opensslsockets

but the server with the same command crash

what do i have to do on the server side to have a ssl connection

It should work out of the box. I tested it when it was developed,
the 'wss' scheme worked.

If it does not work for you, please report it in the issue tracker and
attach a sample console program that shows the issue.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to