mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-10 00:52:11 +01:00
Moved every brynet based http class in core to a new bry_http folder.
This commit is contained in:
parent
843e8153ff
commit
a34995e1b7
@ -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
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
#include "request.h"
|
||||
|
||||
#include "file_cache.h"
|
||||
#include "core/file_cache.h"
|
||||
|
||||
#include <iostream>
|
||||
|
@ -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>
|
@ -1,7 +1,7 @@
|
||||
#include "handler_instance.h"
|
||||
|
||||
#include "request.h"
|
||||
#include "object.h"
|
||||
#include "core/object.h"
|
||||
|
||||
HandlerInstance::HandlerInstance() {
|
||||
instance = nullptr;
|
@ -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
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include "core/object.h"
|
||||
|
||||
#include "core/request.h"
|
||||
#include "core/bry_http/request.h"
|
||||
|
||||
|
||||
class ListPage : public Object {
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include "core/object.h"
|
||||
|
||||
#include "core/request.h"
|
||||
#include "core/bry_http/request.h"
|
||||
|
||||
|
||||
class MessagePage : public Object {
|
||||
|
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user