Skip to main content

Module api

Module api 

Source
Expand description

HTTP API Server for Chat System Manager

Provides a REST API for the web frontend and mobile app to interact with CSM. Uses Actix-web for the HTTP server.

Modules§

caching
Edge Caching Module
sdk
SDK Module

Structs§

AppState
Shared application state
ServerConfig
API server configuration
WebSocketState
Global WebSocket state shared across connections

Functions§

configure_auth_routes
configure_recording_routes
configure_sync_routes
Configure sync routes
configure_websocket_routes
Configure WebSocket routes
create_recording_state
create_sync_state
Create shared sync state
start_server
Start the API server