34 lines
577 B
C++
34 lines
577 B
C++
extern "C" {
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <unistd.h>
|
|
#include <sys/types.h>
|
|
#include <sys/socket.h>
|
|
#include <netinet/in.h>
|
|
#include <arpa/inet.h>
|
|
}
|
|
|
|
#include <expected>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <span>
|
|
#include <iostream>
|
|
|
|
#include <cstring>
|
|
#include <expected>
|
|
#include <string>
|
|
#include <iostream>
|
|
#include <sstream>
|
|
|
|
#include <nethandler.hpp>
|
|
|
|
NetHandler::NetHandler() {}
|
|
|
|
std::expected<void, std::string> NetHandler::Handle(std::string& req, std::string& res) {
|
|
return {};
|
|
}
|
|
|
|
NetHandler::~NetHandler() {}
|
|
|