Files
stvpn/nethandler.hpp
T
2026-04-25 23:27:32 +02:00

27 lines
488 B
C++

#ifndef NETHANDLER_HPP
#define NETHANDLER_HPP
#include <expected>
#include <string>
#include <vector>
#include <span>
#include <iostream>
#include <sstream>
#include <netclient.hpp>
class NetHandler {
public:
NetHandler(void);
virtual std::expected<void, std::string> Handle(std::string& req, std::string& res);
virtual ~NetHandler(void);
NetHandler(const NetHandler&) = delete;
NetHandler& operator=(const NetHandler&) = delete;
};
#endif