MantisBase v0.4.9
Loading...
Searching...
No Matches
http.h File Reference

HTTP request/response wrappers with unified body handling. More...

#include "exceptions.h"
#include "models/entity.h"
#include "types.h"
#include "context_store.h"
#include "../utils/utils.h"
#include <fstream>
#include <unordered_map>
#include <vector>
#include <drogon/HttpRequest.h>
#include <drogon/HttpResponse.h>
Include dependency graph for http.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mb::MbFormDataItem
class  mb::MbRequest
 HTTP request wrapper bound to a MantisBase instance. More...
class  mb::MbResponse
 HTTP response wrapper bound to a MantisBase instance. More...

Namespaces

namespace  mb

Detailed Description

HTTP request/response wrappers with unified body handling.

MbRequest and MbResponse wrap Drogon types and expose MantisBase conventions: per-request attributes via set()/get(), auth helpers, and JSON envelope responses via MbResponse::sendJSON.