Skip to main content

asterisk_rs_ari/
lib.rs

1//! Async Rust client for the Asterisk REST Interface (ARI).
2//!
3//! ARI provides full call control through a REST API combined with
4//! a WebSocket event stream for Stasis applications.
5
6pub mod client;
7pub mod config;
8pub mod error;
9pub mod event;
10pub mod media;
11pub mod pending;
12pub mod resources;
13pub mod server;
14pub(crate) mod transport;
15pub(crate) mod util;
16pub mod websocket;
17pub(crate) mod ws_transport;
18
19pub use client::AriClient;
20pub use config::{AriConfig, TransportMode};
21pub use error::AriError;
22pub use event::{AriEvent, AriMessage};
23pub use pending::{PendingBridge, PendingChannel, PendingPlayback};