Type Alias soup3_sys::SoupServerWebsocketCallback

source ·
pub type SoupServerWebsocketCallback = Option<unsafe extern "C" fn(_: *mut SoupServer, _: *mut SoupServerMessage, _: *const c_char, _: *mut SoupWebsocketConnection, _: gpointer)>;

Aliased Type§

enum SoupServerWebsocketCallback {
    None,
    Some(unsafe extern "C" fn(_: *mut SoupServer, _: *mut SoupServerMessage, _: *const i8, _: *mut SoupWebsocketConnection, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut SoupServer, _: *mut SoupServerMessage, _: *const i8, _: *mut SoupWebsocketConnection, _: *mut c_void))

Some value of type T.