pub struct VoxRtcServerClient { /* private fields */ }Implementations§
Source§impl VoxRtcServerClient
impl VoxRtcServerClient
pub fn new(http_base: impl Into<String>) -> Self
pub fn with_options(options: VoxRtcServerClientOptions) -> Result<Self>
pub fn http_base(&self) -> &str
pub fn socket_base(&self) -> &str
pub fn connection_state(&self) -> ConnectionState
pub async fn connect(&self) -> Result<()>
pub async fn disconnect(&self)
pub async fn create_session(&self) -> Result<SessionBootstrap>
pub async fn attach_session( &self, session_id: impl Into<String>, ) -> Result<VoxRtcControlSession>
pub async fn create_controlled_session(&self) -> Result<ControlledSession>
pub fn socket_params(&self) -> &EventData
Trait Implementations§
Source§impl Clone for VoxRtcServerClient
impl Clone for VoxRtcServerClient
Source§fn clone(&self) -> VoxRtcServerClient
fn clone(&self) -> VoxRtcServerClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VoxRtcServerClient
impl !RefUnwindSafe for VoxRtcServerClient
impl Send for VoxRtcServerClient
impl Sync for VoxRtcServerClient
impl Unpin for VoxRtcServerClient
impl UnsafeUnpin for VoxRtcServerClient
impl !UnwindSafe for VoxRtcServerClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more