Function pact_mock_server_ffi::upon_receiving [−][src]
#[no_mangle] pub extern "C" fn 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.