![]() |
CARTA Backend
The backend component of CARTA
|
#include <chrono>
#include <string>
#include <uWebSockets/App.h>
#include <nlohmann/json.hpp>
#include "Session/SessionManager.h"
#include "Util/FileSystem.h"
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" |
#define | CARTA_PREFERENCES_SCHEMA_URL "https://cartavis.github.io/schemas/preferences_schema_2.json" |
#define | CARTA_LAYOUT_SCHEMA_URL "https://cartavis.github.io/schemas/layout_schema_2.json" |
#define | CARTA_SNIPPET_SCHEMA_URL "https://cartavis.github.io/schemas/snippet_schema_1.json" |
#define | CARTA_WORKSPACE_SCHEMA_URL "https://cartavis.github.io/schemas/workspace_schema_1.json" |
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 |
#define CARTA_LAYOUT_SCHEMA_URL "https://cartavis.github.io/schemas/layout_schema_2.json" |
#define CARTA_PREFERENCES_SCHEMA_URL "https://cartavis.github.io/schemas/preferences_schema_2.json" |
#define CARTA_SNIPPET_SCHEMA_URL "https://cartavis.github.io/schemas/snippet_schema_1.json" |
#define CARTA_WORKSPACE_SCHEMA_URL "https://cartavis.github.io/schemas/workspace_schema_1.json" |
#define HTTP_200 "200 OK" |
#define HTTP_400 "400 Bad Request" |
#define HTTP_403 "403 Forbidden" |
#define HTTP_404 "404 Not Found" |
#define HTTP_500 "500 Internal Server Error" |
#define HTTP_501 "501 Not Implemented" |