Skip to main content

moq_client_get_websocket_enabled

Function moq_client_get_websocket_enabled 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn moq_client_get_websocket_enabled( client: u32, out: *mut bool, ) -> i32
Expand description

Read whether the WebSocket fallback races the QUIC attempt. See moq_client_set_websocket_enabled.

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

ยงSafety

  • The caller must ensure that out points to a writable bool.