Function pact_ffi::mock_server::pactffi_cleanup_mock_server

source ยท
#[no_mangle]
pub extern "C" fn pactffi_cleanup_mock_server(
    mock_server_port: i32
) -> bool
Expand description

External interface to cleanup a mock server. This function will try terminate the mock server with the given port number and cleanup any memory allocated for it. Returns true, unless a mock server with the given port number does not exist, or the function panics.