#[unsafe(no_mangle)]pub unsafe extern "C" fn webui_streaming_session_write_shell(
session_ptr: *mut webui_streaming_session_t,
state_json: *const c_char,
out_len: *mut usize,
) -> *mut c_charExpand description
Render everything before the first boundary.
Returns a NUL-terminated UTF-8 chunk that must be freed with
webui_free, or NULL on error. When out_len is non-null it receives
the byte length excluding the terminator, so hosts writing to a socket do
not need strlen.
ยงSafety
session_ptrmust be a live session handle.state_jsonmust be non-null, null-terminated UTF-8.out_lenmust be writable, orNULL.