#[no_mangle]
pub extern "C" fn pactffi_verifier_set_provider_state(
    handle: *mut VerifierHandle,
    url: *const c_char,
    teardown: c_uchar,
    body: c_uchar
)
Expand description

Set the provider state URL for the Pact verifier.

teardown is a boolean value. If teardown state change requests should be made after an interaction is validated (default is false). Set it to greater than zero to turn the option on. body is a boolean value. Sets if state change request data should be sent in the body (> 0, true) or as query parameters (== 0, false). Set it to greater than zero to turn the option on.

§Safety

All string fields must contain valid UTF-8. Invalid UTF-8 will be replaced with U+FFFD REPLACEMENT CHARACTER.