Trait soup::prelude::SessionExtManual
source · pub trait SessionExtManual: 'static {
fn websocket_connect_async<P: FnOnce(Result<WebsocketConnection, Error>) + 'static>(
&self,
msg: &Message,
origin: Option<&str>,
protocols: &[&str],
io_priority: Priority,
cancellable: Option<&impl IsA<Cancellable>>,
callback: P
);
fn websocket_connect_async_future(
&self,
msg: &Message,
origin: Option<&str>,
protocols: &[&str],
io_priority: Priority
) -> Pin<Box_<dyn Future<Output = Result<WebsocketConnection, Error>> + 'static>>;
}