Open3D (C++ API)
0.17.0
Loading...
Searching...
No Matches
cpp
open3d
visualization
webrtc_server
HttpServerRequestHandler.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - Open3D: www.open3d.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2023 www.open3d.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
// ----------------------------------------------------------------------------
8
// Contains source code from
9
// https://github.com/mpromonet/webrtc-streamer
10
//
11
// This software is in the public domain, furnished "as is", without technical
12
// support, and with no warranty, express or implied, as to its usefulness for
13
// any purpose.
14
// ----------------------------------------------------------------------------
15
//
16
// This is a private header. It shall be hidden from Open3D's public API. Do not
17
// put this in Open3D.h.in.
18
19
#pragma once
20
21
#include <CivetServer.h>
22
#include <json/json.h>
23
24
#include <functional>
25
#include <map>
26
27
namespace
open3d
{
28
namespace
visualization {
29
namespace
webrtc_server {
30
31
class
HttpServerRequestHandler
:
public
CivetServer {
32
public
:
33
typedef
std::function<Json::Value(
const
struct
mg_request_info* req_info,
34
const
Json::Value&)>
35
HttpFunction
;
36
37
HttpServerRequestHandler
(std::map<std::string, HttpFunction>& func,
38
const
std::vector<std::string>& options);
39
};
40
41
}
// namespace webrtc_server
42
}
// namespace visualization
43
}
// namespace open3d
open3d::visualization::webrtc_server::HttpServerRequestHandler
Definition
HttpServerRequestHandler.h:31
open3d::visualization::webrtc_server::HttpServerRequestHandler::HttpFunction
std::function< Json::Value(const struct mg_request_info *req_info, const Json::Value &)> HttpFunction
Definition
HttpServerRequestHandler.h:35
open3d
Definition
PinholeCameraIntrinsic.cpp:16
Generated by
1.9.8