Function pact_mock_server_ffi::given [−][src]
#[no_mangle] pub extern "C" fn given(
interaction: InteractionHandle,
description: *const c_char
) -> bool
Expand description
Adds a provider state to 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 provider state description. It needs to be unique.