Function qpid_proton_sys::pn_message_get_content_type[][src]

pub unsafe extern "C" fn pn_message_get_content_type(
    msg: *mut pn_message_t
) -> *const c_char
Expand description

Get the content_type for a message. This operation will return NULL if no content_type has been set or if the content_type has been set to NULL. The pointer returned by this operation is valid until any one of the following operations occur: pn_message_free() pn_message_clear() pn_message_set_content_type()