Skip to main content

moq_client_set_backoff_max

Function moq_client_set_backoff_max 

Source
#[unsafe(no_mangle)]
pub extern "C" fn moq_client_set_backoff_max( client: u32, delay_ms: u64, ) -> i32
Expand description

Set the ceiling on the growing reconnect delay, in milliseconds.

Defaults to 5s.

Returns zero on success, or a negative code if the handle is unknown.