Refactor include directives: replace quotes with angle brackets for consistency
This commit is contained in:
parent
3eb46dba13
commit
c9855fd7e5
@ -1,6 +1,5 @@
|
|||||||
#include "ServerConfig.hpp"
|
|
||||||
|
|
||||||
#include <webserv/config/LocationConfig.hpp>
|
#include <webserv/config/LocationConfig.hpp>
|
||||||
|
#include <webserv/config/ServerConfig.hpp>
|
||||||
#include <webserv/config/utils.hpp>
|
#include <webserv/config/utils.hpp>
|
||||||
#include <webserv/log/Log.hpp>
|
#include <webserv/log/Log.hpp>
|
||||||
|
|
||||||
|
|||||||
@ -6,6 +6,7 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
// TODO remove implementation details from header
|
||||||
class ServerConfig
|
class ServerConfig
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "webserv/config/ServerConfig.hpp"
|
#include <webserv/config/ServerConfig.hpp>
|
||||||
|
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
@ -42,6 +42,7 @@ class HttpRequest
|
|||||||
[[nodiscard]] bool parseBufferforBody();
|
[[nodiscard]] bool parseBufferforBody();
|
||||||
|
|
||||||
void parseContentLength();
|
void parseContentLength();
|
||||||
|
|
||||||
const ServerConfig *serverConfig_;
|
const ServerConfig *serverConfig_;
|
||||||
const Client *client_;
|
const Client *client_;
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <webserv/log/FileChannel.hpp>
|
#include <webserv/log/FileChannel.hpp>
|
||||||
#include <webserv/log/Log.hpp>
|
#include <webserv/log/Log.hpp>
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#include "webserv/log/StdoutChannel.hpp"
|
|
||||||
|
|
||||||
#include <webserv/log/Channel.hpp>
|
#include <webserv/log/Channel.hpp>
|
||||||
#include <webserv/log/Log.hpp>
|
#include <webserv/log/Log.hpp>
|
||||||
|
#include <webserv/log/StdoutChannel.hpp>
|
||||||
|
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#include "webserv/socket/Socket.hpp"
|
|
||||||
|
|
||||||
#include <webserv/log/Log.hpp>
|
#include <webserv/log/Log.hpp>
|
||||||
#include <webserv/server/Server.hpp>
|
#include <webserv/server/Server.hpp>
|
||||||
|
#include <webserv/socket/Socket.hpp>
|
||||||
|
|
||||||
#include <cstring> // For memset
|
#include <cstring> // For memset
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "webserv/config/ServerConfig.hpp"
|
|
||||||
|
|
||||||
#include <webserv/client/Client.hpp>
|
#include <webserv/client/Client.hpp>
|
||||||
#include <webserv/config/ConfigManager.hpp>
|
#include <webserv/config/ConfigManager.hpp>
|
||||||
|
#include <webserv/config/ServerConfig.hpp>
|
||||||
#include <webserv/socket/Socket.hpp>
|
#include <webserv/socket/Socket.hpp>
|
||||||
|
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user