Skip to main content

webui_protocol_create

Function webui_protocol_create 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn webui_protocol_create( protocol_data: *const u8, protocol_len: usize, ) -> *mut webui_protocol_t
Expand description

Decode and index a WebUI protocol for repeated rendering.

The returned handle is thread-safe and must be released with webui_protocol_destroy.

ยงSafety

protocol_data must point to protocol_len readable bytes.