A very simple, fast, multithreaded, platform-independent HTTP and HTTPS server and client library implemented using C++11 and Asio (both Boost.Asio and standalone Asio can be used). Created to be an easy way to make REST resources available from C++ applications. See particularly the JSON-POST (using Boost.PropertyTree) and the GET /match/[number] examples, which are most relevant. Before running the server, an RSA private key (server.key) and an SSL certificate (server.crt) must be created. Timeouts, if any of Server::timeout_request and Server::timeout_content are >0 (default: Server::timeout_request=5 seconds, and Server::timeout_content=300 seconds). Simple way to add REST resources using regex for path, and anonymous functions.

Features

  • Asynchronous request handling
  • Thread pool if needed
  • Platform independent
  • HTTPS support
  • HTTP persistent connection (for HTTP/1.1)
  • Client supports chunked transfer encoding
  • Simple way to add REST resources using regex for path, and anonymous functions

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Simple-Web-Server

Simple-Web-Server Web Site

Other Useful Business Software
Remote Network Monitoring and Management for an IoT World Icon
Remote Network Monitoring and Management for an IoT World

The Only RMM Solution You Need

Domotz is the premier Remote Network Monitoring and Management platform for IoT. We offer powerful network management software for MSP's, Integrators, Security Professionals, and Business Owners. Domotz enables the complete solution to cost-effectively manage and monitor your customers’ networks with plug and play setup, a friendly UX, and a comprehensive feature set, accessible from any desktop browser or mobile device. Utilize one interface to manage multiple networks at multiple locations anywhere in the World. One person can deploy remote monitoring and management in less than 15 minutes.
Sign Up for Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Simple-Web-Server!

Additional Project Details

Programming Language

C++

Related Categories

C++ Libraries

Registered

2022-05-31