5#ifndef WPINET_WEBSERVER_H_
6#define WPINET_WEBSERVER_H_
40 void Start(
unsigned int port, std::string_view path);
47 void Stop(
unsigned int port);
53 std::unique_ptr<Impl> m_impl;
A web server using the HTTP protocol.
Definition WebServer.h:18
WebServer(const WebServer &)=delete
void Stop(unsigned int port)
Stop web server running at the given port.
void Start(unsigned int port, std::string_view path)
Create a web server at the given port.
static WebServer & GetInstance()
Get an instance of the WebServer class.
WebServer & operator=(const WebServer &)=delete
Foonathan namespace.
Definition ntcore_cpp.h:26