Function pact_mock_server_ffi::new_pact [−][src]
#[no_mangle] pub extern "C" fn new_pact(
consumer_name: *const c_char,
provider_name: *const c_char
) -> PactHandle
Expand description
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
.