[fpc-pascal] fcl-web websocket

Michael Van Canneyt michael at freepascal.org
Thu Nov 9 09:58:12 CET 2023



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.


More information about the fpc-pascal mailing list