[−][src]Function push_ffi::push_connection_new
#[no_mangle]pub extern "C" fn push_connection_new(
server_host: FfiStr<'_>,
http_protocol: FfiStr<'_>,
bridge_type: FfiStr<'_>,
registration_id: FfiStr<'_>,
sender_id: FfiStr<'_>,
database_path: FfiStr<'_>,
error: &mut ExternError
) -> u64
Instantiate a Http connection. Returned connection must be freed with
push_connection_destroy
. Returns null and logs on errors (for now).