mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-05-02 13:47:56 +02: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, "*.cpp")
|
||||||
env.add_source_files(env.core_sources, "./html/*.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")
|
env.add_source_files(env.core_sources, "./database/*.cpp")
|
||||||
|
|
||||||
# Build it all as a library
|
# Build it all as a library
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
#include "request.h"
|
#include "request.h"
|
||||||
|
|
||||||
#include "file_cache.h"
|
#include "core/file_cache.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
@ -1,7 +1,7 @@
|
|||||||
#ifndef BRY_WEB_APPLICATION_H
|
#ifndef BRY_WEB_APPLICATION_H
|
||||||
#define BRY_WEB_APPLICATION_H
|
#define BRY_WEB_APPLICATION_H
|
||||||
|
|
||||||
#include "object.h"
|
#include "core/object.h"
|
||||||
#include <functional>
|
#include <functional>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <string>
|
#include <string>
|
@ -1,7 +1,7 @@
|
|||||||
#include "handler_instance.h"
|
#include "handler_instance.h"
|
||||||
|
|
||||||
#include "request.h"
|
#include "request.h"
|
||||||
#include "object.h"
|
#include "core/object.h"
|
||||||
|
|
||||||
HandlerInstance::HandlerInstance() {
|
HandlerInstance::HandlerInstance() {
|
||||||
instance = nullptr;
|
instance = nullptr;
|
@ -1,7 +1,7 @@
|
|||||||
#include "http_server.h"
|
#include "http_server.h"
|
||||||
|
|
||||||
#include "core/bry_web_application.h"
|
#include "bry_web_application.h"
|
||||||
#include "core/request.h"
|
#include "request.h"
|
||||||
|
|
||||||
#define LOG_VERBOSE 0
|
#define LOG_VERBOSE 0
|
||||||
|
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "core/object.h"
|
#include "core/object.h"
|
||||||
|
|
||||||
#include "core/request.h"
|
#include "core/bry_http/request.h"
|
||||||
|
|
||||||
|
|
||||||
class ListPage : public Object {
|
class ListPage : public Object {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
#include "core/object.h"
|
#include "core/object.h"
|
||||||
|
|
||||||
#include "core/request.h"
|
#include "core/bry_http/request.h"
|
||||||
|
|
||||||
|
|
||||||
class MessagePage : public Object {
|
class MessagePage : public Object {
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include <tinydir/tinydir.h>
|
#include <tinydir/tinydir.h>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
#include "core/bry_web_application.h"
|
#include "core/bry_http/bry_web_application.h"
|
||||||
|
|
||||||
void PagedArticle::index(Request *request) {
|
void PagedArticle::index(Request *request) {
|
||||||
const std::string r = request->get_current_path_segment();
|
const std::string r = request->get_current_path_segment();
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
#include "core/file_cache.h"
|
#include "core/file_cache.h"
|
||||||
#include "core/object.h"
|
#include "core/object.h"
|
||||||
|
|
||||||
#include "core/request.h"
|
#include "core/bry_http/request.h"
|
||||||
|
|
||||||
struct Article {
|
struct Article {
|
||||||
std::string url;
|
std::string url;
|
||||||
|
Loading…
Reference in New Issue
Block a user