Moved every brynet based http class in core to a new bry_http folder.

This commit is contained in:
Relintai 2021-05-27 17:06:42 +02:00
parent 843e8153ff
commit a34995e1b7
13 changed files with 10 additions and 10 deletions

View File

@ -6,7 +6,7 @@ env.core_sources = []
env.add_source_files(env.core_sources, "*.cpp")
env.add_source_files(env.core_sources, "./html/*.cpp")
env.add_source_files(env.core_sources, "./http/*.cpp")
env.add_source_files(env.core_sources, "./bry_http/*.cpp")
env.add_source_files(env.core_sources, "./database/*.cpp")
# Build it all as a library

View File

@ -5,7 +5,7 @@
#include "request.h"
#include "file_cache.h"
#include "core/file_cache.h"
#include <iostream>

View File

@ -1,7 +1,7 @@
#ifndef BRY_WEB_APPLICATION_H
#define BRY_WEB_APPLICATION_H
#include "object.h"
#include "core/object.h"
#include <functional>
#include <map>
#include <string>

View File

@ -1,7 +1,7 @@
#include "handler_instance.h"
#include "request.h"
#include "object.h"
#include "core/object.h"
HandlerInstance::HandlerInstance() {
instance = nullptr;

View File

@ -1,7 +1,7 @@
#include "http_server.h"
#include "core/bry_web_application.h"
#include "core/request.h"
#include "bry_web_application.h"
#include "request.h"
#define LOG_VERBOSE 0

View File

@ -6,7 +6,7 @@
#include "core/object.h"
#include "core/request.h"
#include "core/bry_http/request.h"
class ListPage : public Object {

View File

@ -6,7 +6,7 @@
#include "core/object.h"
#include "core/request.h"
#include "core/bry_http/request.h"
class MessagePage : public Object {

View File

@ -8,7 +8,7 @@
#include <tinydir/tinydir.h>
#include <iostream>
#include "core/bry_web_application.h"
#include "core/bry_http/bry_web_application.h"
void PagedArticle::index(Request *request) {
const std::string r = request->get_current_path_segment();

View File

@ -8,7 +8,7 @@
#include "core/file_cache.h"
#include "core/object.h"
#include "core/request.h"
#include "core/bry_http/request.h"
struct Article {
std::string url;