Function pact_mock_server_ffi::with_request[][src]

#[no_mangle]
pub extern "C" fn with_request(
    interaction: InteractionHandle,
    method: *const c_char,
    path: *const c_char
) -> bool
Expand description

Configures the request for the Interaction. Returns false if the interaction or Pact can’t be modified (i.e. the mock server for it has already started)

  • method - The request method. Defaults to GET.
  • path - The request path. Defaults to /.