Function pact_mock_server_ffi::cleanup_mock_server [−][src]
#[no_mangle] pub extern "C" fn 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.