CARTA Backend
The backend component of CARTA
Loading...
Searching...
No Matches
HttpServer.h File Reference
#include <chrono>
#include <string>
#include <uWebSockets/App.h>
#include <nlohmann/json.hpp>
#include "Session/SessionManager.h"
#include "Util/FileSystem.h"
Include dependency graph for HttpServer.h:
This graph shows which files directly or indirectly include this file:

Classes

class  carta::HttpServer
 

Namespaces

namespace  carta
 

Macros

#define HTTP_200   "200 OK"
 
#define HTTP_400   "400 Bad Request"
 
#define HTTP_404   "404 Not Found"
 
#define HTTP_403   "403 Forbidden"
 
#define HTTP_500   "500 Internal Server Error"
 
#define HTTP_501   "501 Not Implemented"
 

Typedefs

typedef uWS::HttpRequest carta::Req
 
typedef uWS::HttpResponse< false > carta::Res
 
typedef std::function< bool(int &, uint32_t &, std::string &, std::string &, std::string &, bool &, std::string &, ScriptingResponseCallback, ScriptingSessionClosedCallback)> carta::ScriptingRequestHandler
 

Macro Definition Documentation

◆ HTTP_200

#define HTTP_200   "200 OK"

◆ HTTP_400

#define HTTP_400   "400 Bad Request"

◆ HTTP_403

#define HTTP_403   "403 Forbidden"

◆ HTTP_404

#define HTTP_404   "404 Not Found"

◆ HTTP_500

#define HTTP_500   "500 Internal Server Error"

◆ HTTP_501

#define HTTP_501   "501 Not Implemented"