working commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
|
||||
|
||||
#ifndef NETHANDLER_HPP
|
||||
#define NETHANDLER_HPP
|
||||
|
||||
|
||||
#include <expected>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <span>
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#include <netclient.hpp>
|
||||
|
||||
class AbstractRPCHandler {
|
||||
public:
|
||||
AbstractRPCHandler(void);
|
||||
virtual std::expected<void, std::string> Handle(std::string& req, std::string& res);
|
||||
virtual ~AbstractRPCHandler(void);
|
||||
|
||||
AbstractRPCHandler(const AbstractRPCHandler&) = delete;
|
||||
AbstractRPCHandler& operator=(const AbstractRPCHandler&) = delete;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user