[][src]Function pact_mock_server_ffi::new_pact

#[no_mangle]pub extern "C" fn new_pact(
    consumer_name: *const c_char,
    provider_name: *const c_char
) -> PactHandle

Creates a new Pact model and returns a handle to it.

  • consumer_name - The name of the consumer for the pact.
  • provider_name - The name of the provider for the pact.

Returns a new PactHandle.