![]() |
Flecs v3.2
A fast entity component system (ECS) for C & C++
|
REST API addon. More...
Go to the source code of this file.
Classes | |
| struct | EcsRest |
Macros | |
| #define | FLECS_REST_H |
| #define | ECS_REST_DEFAULT_PORT (27750) |
Functions | |
| FLECS_API const ecs_entity_t | ecs_id (EcsRest) |
| Component that instantiates the REST API. | |
| FLECS_API ecs_http_server_t * | ecs_rest_server_init (ecs_world_t *world, const ecs_http_server_desc_t *desc) |
| Create HTTP server for REST API. | |
| FLECS_API void | ecs_rest_server_fini (ecs_http_server_t *srv) |
| Cleanup REST HTTP server. | |
| FLECS_API void | FlecsRestImport (ecs_world_t *world) |
REST API addon.
A small REST API that uses the HTTP server and JSON serializer to provide access to application data for remote applications.
A description of the API can be found in docs/RestApi.md
Definition in file rest.h.