#[no_mangle]
pub extern "C" fn pactffi_async_message_get_contents_str(
    message: *const AsynchronousMessage
) -> *const c_char
Expand description

Get the message contents of an AsynchronousMessage in string form.

§Safety

The returned string must be deleted with pactffi_string_delete.

The returned string can outlive the message.

§Error Handling

If the message is NULL, returns NULL. If the body of the message is missing, then this function also returns NULL. This means there’s no mechanism to differentiate with this function call alone between a NULL message and a missing message body.