Skip to content
Flecs
v4.1
Search
Ctrl K
include
flecs
addons
cpp
mixins
rest
decl.hpp
Go to the documentation of this file.
1
/**
2
* @file addons/cpp/mixins/rest/decl.hpp
3
* @brief Rest module declarations.
4
*/
5
6
#pragma once
7
8
namespace
flecs {
9
10
/**
11
* @defgroup cpp_addons_rest Rest
12
* @ingroup cpp_addons
13
* REST API for querying and mutating entities.
14
*
15
* @{
16
*/
17
18
/** REST API component. */
19
using
Rest
=
EcsRest
;
20
21
namespace
rest {
22
23
namespace
_
{
24
25
void
init(
flecs::world
&
world
);
26
27
}
28
}
29
30
/** @} */
31
32
}
flecs::Rest
EcsRest Rest
REST API component.
Definition
decl.hpp:19
flecs::_
Int to enum.
Definition
component.hpp:18
EcsRest
Component that creates a REST API server when instantiated.
Definition
rest.h:59
flecs::world
The world.
Definition
world.hpp:129
Esc
↑
↓
to navigate
↵
to open
Esc
to close