Expand description
Cross-platform REST client for the videocall.rs meeting API.
Works on WASM (browser), desktop, and mobile targets via reqwest.
§Example
use videocall_meeting_client::{MeetingApiClient, AuthMode};
// Browser: cookies are sent automatically
let client = MeetingApiClient::new("http://localhost:8081", AuthMode::Cookie);
// Native / mobile: use a bearer token
let client = MeetingApiClient::new(
"http://localhost:8081",
AuthMode::Bearer("eyJ...".to_string()),
);
let profile = client.get_profile().await?;
println!("Logged in as: {}", profile.email);Re-exports§
pub use error::ApiError;pub use videocall_meeting_types;
Modules§
- auth
- Authentication and session endpoints:
/session,/profile,/logout. - error
- Error types for the meeting API client.
- meetings
- Meeting CRUD endpoints: create, list, get, delete.
- participants
- Participant action endpoints: join, leave, status, refresh token.
- waiting_
room - Waiting room management endpoints: list waiting, admit, admit-all, reject.
Structs§
- Meeting
ApiClient - A typed REST client for the videocall.rs meeting API.
Enums§
- Auth
Mode - How the client authenticates with the meeting API.