pub unsafe extern "C" fn transport_set_free_func(
    transport: *mut Transport,
    free_func: Option<extern "C" fn(state: *mut c_void)>
)
Expand description

Sets the transport hook to free the transport state.