Main implementation for the plain HTTP server. Use HTTPSServer for TLS support. More...
#include <HTTPServer.hpp>
Main implementation for the plain HTTP server. Use HTTPSServer for TLS support.
◆ loop() void httpsserver::HTTPServer::loop ( )The loop method can either be called by periodical interrupt or in the main loop and handles processing of data
◆ setDefaultHeader() void httpsserver::HTTPServer::setDefaultHeader ( std::string name, std::string value )Adds a default header that is included in every response.
This could be used for example to add a Server: header or for CORS options
◆ setupSocket() uint8_t httpsserver::HTTPServer::setupSocket ( ) protectedvirtualThis method prepares the tcp server socket
◆ start() uint8_t httpsserver::HTTPServer::start ( )This method starts the server and begins to listen on the port
◆ stop() void httpsserver::HTTPServer::stop ( )This method stops the server
The documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4