freeswitch-types 0.24.0

FreeSWITCH ESL protocol types: channel state, events, headers, commands, and variables
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Convenience re-exports for common types and traits.
//!
//! ```
//! use freeswitch_types::prelude::*;
//! ```
//!
//! This brings [`HeaderLookup`] into scope (required for typed accessors like
//! `unique_id()`, `channel_state()`, `hangup_cause()`, etc.) along with the
//! header and variable enums used with `header()` and `variable()`.

pub use crate::headers::EventHeader;
pub use crate::lookup::HeaderLookup;
pub use crate::variables::{ChannelVariable, VariableName};
pub use sip_header::{SipHeader, SipHeaderLookup};