Skip to content
Flecs v4.1
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
8namespace 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. */
19using Rest = EcsRest;
20
21namespace rest {
22
23namespace _ {
24
25void init(flecs::world& world);
26
27}
28}
29
30/** @} */
31
32}
EcsRest Rest
REST API component.
Definition decl.hpp:19
Int to enum.
Definition component.hpp:18
Component that creates a REST API server when instantiated.
Definition rest.h:59
The world.
Definition world.hpp:129