pub struct SocketIngressResource<'a> { /* private fields */ }Expand description
Streams media and data frames into a room over a single-use WebSocket. To
tear down, close the socket; the URL also expires on its own. Reached via
Client::socket_ingress.
Implementations§
Source§impl<'a> SocketIngressResource<'a>
impl<'a> SocketIngressResource<'a>
Sourcepub async fn create(
&self,
room_id: &str,
params: CreateSocketIngressParams,
) -> Result<SocketIngress>
pub async fn create( &self, room_id: &str, params: CreateSocketIngressParams, ) -> Result<SocketIngress>
Creates a socket-ingest session for a room.
Trait Implementations§
Source§impl<'a> Clone for SocketIngressResource<'a>
impl<'a> Clone for SocketIngressResource<'a>
Source§fn clone(&self) -> SocketIngressResource<'a>
fn clone(&self) -> SocketIngressResource<'a>
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 moreimpl<'a> Copy for SocketIngressResource<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SocketIngressResource<'a>
impl<'a> !UnwindSafe for SocketIngressResource<'a>
impl<'a> Freeze for SocketIngressResource<'a>
impl<'a> Send for SocketIngressResource<'a>
impl<'a> Sync for SocketIngressResource<'a>
impl<'a> Unpin for SocketIngressResource<'a>
impl<'a> UnsafeUnpin for SocketIngressResource<'a>
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