Skip to main content

ws_blocking_with_options

Function ws_blocking_with_options 

Source
pub async fn ws_blocking_with_options<T, F>(
    handle: &RuntimeHandle,
    options: BlockingOptions,
    f: F,
) -> Result<T>
where T: Send + 'static, F: FnOnce() -> Result<T> + Send + 'static,
Expand description

Executes a WebSocket-related blocking closure with explicit options.