 |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
Go to the documentation of this file.
21 #include <CivetServer.h>
22 #include <json/json.h>
28 namespace visualization {
29 namespace webrtc_server {
33 typedef std::function<
Json::Value(
const struct mg_request_info* req_info,
38 const std::vector<std::string>& options);
Generic file read and write utility for python interface.
Definition: CloudViewerConfig.cpp:12
static int LogMessage(const struct mg_connection *conn, const char *message)
Definition: HttpServerRequestHandler.cpp:26
bool handle(CivetServer *server, struct mg_connection *conn)
Definition: HttpServerRequestHandler.cpp:43
static const struct CivetCallbacks * getCivetCallbacks()
Definition: HttpServerRequestHandler.cpp:32
std::function< Json::Value(const struct mg_request_info *req_info, const Json::Value &)> HttpFunction
Definition: HttpServerRequestHandler.h:35
bool handleGet(CivetServer *server, struct mg_connection *conn) override
Definition: HttpServerRequestHandler.cpp:75
RequestHandler(HttpServerRequestHandler::HttpFunction &func)
Definition: HttpServerRequestHandler.cpp:40
Definition: HttpServerRequestHandler.cpp:38
#define LogDebug(...)
Definition: Logging.h:90
Definition: HttpServerRequestHandler.h:31
#define LogInfo(...)
Definition: Logging.h:81
static struct CivetCallbacks _callbacks
Definition: HttpServerRequestHandler.cpp:31
#define LogWarning(...)
Definition: Logging.h:72
static vtkPVTrivialProducerStaticInternal Value
Definition: vtkDistributedTrivialProducer.cxx:65
bool handlePost(CivetServer *server, struct mg_connection *conn) override
Definition: HttpServerRequestHandler.cpp:78
HttpServerRequestHandler(std::map< std::string, HttpFunction > &func, const std::vector< std::string > &options)
Definition: HttpServerRequestHandler.cpp:126