Function pact_mock_server_ffi::with_message_pact_metadata [−][src]
#[no_mangle] pub extern "C" fn with_message_pact_metadata(
pact: MessagePactHandle,
namespace: *const c_char,
name: *const c_char,
value: *const c_char
)
Expand description
Sets the additional metadata on the Pact file. Common uses are to add the client library details such as the name and version
pact
- Handle to a Pact modelnamespace
- the top level metadat key to set any key values onname
- the key to setvalue
- the value to set