[][src]Function pact_mock_server_ffi::given_with_param

#[no_mangle]pub extern "C" fn given_with_param(
    interaction: InteractionHandle,
    description: *const c_char,
    name: *const c_char,
    value: *const c_char
)

Adds a provider state to the Interaction with a parameter key and value.

  • description - The provider state description. It needs to be unique.
  • name - Parameter name.
  • value - Parameter value.