Network System 0.1.1
High-performance modular networking library for scalable client-server applications
Loading...
Searching...
No Matches
http_server.h File Reference
#include "internal/core/messaging_server.h"
#include "internal/http/http_types.h"
#include "internal/http/http_parser.h"
#include "internal/http/http_error.h"
#include "kcenon/network/detail/utils/result_types.h"
#include "internal/utils/compression_pipeline.h"
#include <string>
#include <map>
#include <functional>
#include <memory>
#include <regex>
#include <vector>
#include <chrono>
Include dependency graph for http_server.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kcenon::network::core::http_request_buffer
 Buffer for accumulating HTTP request data received in chunks. More...
 
struct  kcenon::network::core::http_request_context
 Context for an HTTP request with parsed components. More...
 
struct  kcenon::network::core::http_route
 Route definition with pattern matching and handler. More...
 
class  kcenon::network::core::http_server
 HTTP/1.1 server built on top of messaging_server. More...
 

Namespaces

namespace  kcenon
 
namespace  kcenon::network
 Main namespace for all Network System components.
 
namespace  kcenon::network::core
 

Typedefs

using kcenon::network::core::http_handler = std::function<internal::http_response(const http_request_context& ctx)>
 Handler function for HTTP requests.
 
using kcenon::network::core::error_handler = std::function<internal::http_response(const internal::http_error& error)>
 Handler function for HTTP errors.