Initial commit
This commit is contained in:
13
src/http/request.hpp
Normal file
13
src/http/request.hpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
#include "../constants/httprequest.hpp"
|
||||
|
||||
namespace Http
|
||||
{
|
||||
struct Request
|
||||
{
|
||||
HttpRequest::Type requestType;
|
||||
std::string path;
|
||||
|
||||
static Request Deserialize(std::vector<char> const & bytes);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user