Files

15 lines
402 B
C
Raw Permalink Normal View History

2022-06-30 01:35:02 +02:00
#pragma once
2022-06-30 02:08:09 +02:00
// 3rdparty lib includes
#include <asio_web/webserver.h>
2022-06-30 01:35:02 +02:00
class ExampleWebserver final : public Webserver
2022-06-30 01:35:02 +02:00
{
public:
using Webserver::Webserver;
bool connectionKeepAlive() const final { return true; }
2022-06-30 01:35:02 +02:00
std::unique_ptr<ResponseHandler> makeResponseHandler(ClientConnection &clientConnection, std::string_view method, std::string_view path, std::string_view protocol) final;
};