[][src]Function pact_mock_server_ffi::new_interaction

#[no_mangle]pub extern "C" fn new_interaction(
    pact: PactHandle,
    description: *const c_char
) -> InteractionHandle

Creates a new Interaction and returns a handle to it.

  • description - The interaction description. It needs to be unique for each interaction.

Returns a new InteractionHandle.