Simple-Web-Server Documentation

repository·master·Indexed 25 days ago

https://github.com/eidheim/simple-web-server

A lightweight, multithreaded C++11 library for building HTTP and HTTPS servers and clients. Designed for exposing RESTful resources from C++ applications with minimal boilerplate, it supports asynchronous request handling, thread pools, HTTP/1.1 persistent connections, and chunked transfer encoding. Requires Asio and OpenSSL for HTTPS support.

Tokens
360
Snippets
3
Records
5
Agent score
33%

What's inside Simple-Web-Server

  1. Overview of Simple-Web-Server

    master
    Simple-Web-Server is a fast, multithreaded, and platform-independent HTTP and HTTPS server and client library implemented using C++11. It is designed to provide an easy way to expose REST resources from C++ applications. It supports asynchronous request handling, thread pools, HTTP/1.1 persistent connections, and chunked transfer encoding for clients.
  2. Run HTTPS examples

    master

    To run HTTPS examples, you must first provide an RSA private key (server.key) and an SSL certificate (server.crt). You can use self-signed certificates for testing. Once the certificates are in place, run the HTTPS examples binary and access the server via https://localhost:8080/.

    ./build/https_examples