Files
clio/src/web
Sergey Kuznetsov d3df6d10e4 fix: Fix ssl in new webserver (#1981)
Fixes #1980.

An SSL handshake was missing and WsConnection should be build from
stream not socket because in case SSL connection stream already
completed SSL handshake.
2025-04-01 16:12:16 +01:00
..
2025-04-01 16:12:16 +01:00
2025-01-02 11:39:31 +00:00
2025-01-02 11:39:31 +00:00
2025-01-02 11:39:31 +00:00
2025-01-02 11:39:31 +00:00

Web server subsystem

This folder contains all of the classes for running the web server.

The web server subsystem:

  • Handles JSON-RPC and websocket requests.

  • Supports SSL if a cert and key file are specified in the config.

  • Handles all types of requests on a single port.

Each request is handled asynchronously using Boost Asio.

Much of this code was originally copied from Boost beast example code.