Add header and implementation files for CgiHandler, ErrorHandler, FileHandler, HttpRequest, HttpResponse, and Router classes
This commit is contained in:
parent
b7b10249dd
commit
66e57fef59
1
webserv/handler/CgiHandler.hpp
Normal file
1
webserv/handler/CgiHandler.hpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#pragma once
|
||||||
1
webserv/handler/ErrorHandler.hpp
Normal file
1
webserv/handler/ErrorHandler.hpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#pragma once
|
||||||
1
webserv/handler/FileHandler.hpp
Normal file
1
webserv/handler/FileHandler.hpp
Normal file
@ -0,0 +1 @@
|
|||||||
|
#pragma once
|
||||||
5
webserv/http/HttpRequest.cpp
Normal file
5
webserv/http/HttpRequest.cpp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <webserv/http/HttpRequest.hpp>
|
||||||
|
|
||||||
|
HttpRequest::HttpRequest()
|
||||||
|
{
|
||||||
|
}
|
||||||
7
webserv/http/HttpRequest.hpp
Normal file
7
webserv/http/HttpRequest.hpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
class HttpRequest
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
HttpRequest();
|
||||||
|
};
|
||||||
5
webserv/http/HttpResponse.cpp
Normal file
5
webserv/http/HttpResponse.cpp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <webserv/http/HttpResponse.hpp>
|
||||||
|
|
||||||
|
HttpResponse::HttpResponse()
|
||||||
|
{
|
||||||
|
}
|
||||||
7
webserv/http/HttpResponse.hpp
Normal file
7
webserv/http/HttpResponse.hpp
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
class HttpResponse
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
HttpResponse();
|
||||||
|
};
|
||||||
5
webserv/router/Router.cpp
Normal file
5
webserv/router/Router.cpp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#include <webserv/router/Router.hpp>
|
||||||
|
|
||||||
|
Router::Router()
|
||||||
|
{
|
||||||
|
}
|
||||||
11
webserv/router/Router.hpp
Normal file
11
webserv/router/Router.hpp
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <webserv/http/HttpRequest.hpp>
|
||||||
|
#include <webserv/http/HttpResponse.hpp>
|
||||||
|
|
||||||
|
class Router
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
Router();
|
||||||
|
|
||||||
|
};
|
||||||
Loading…
Reference in New Issue
Block a user