Function pact_ffi::mock_server::handles::pactffi_upon_receiving
source · #[no_mangle]
pub extern "C" fn pactffi_upon_receiving(
interaction: InteractionHandle,
description: *const c_char
) -> bool
Expand description
Sets the description for the Interaction. Returns false if the interaction or Pact can’t be modified (i.e. the mock server for it has already started)
description
- The interaction description. It needs to be unique for each interaction.