mirror of
https://github.com/XRPLF/clio.git
synced 2026-04-29 15:37:53 +00:00
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.
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.