[][src]Function pact_mock_server_ffi::with_query_parameter

#[no_mangle]pub extern "C" fn with_query_parameter(
    interaction: InteractionHandle,
    name: *const c_char,
    index: size_t,
    value: *const c_char
)

Configures a query parameter for the Interaction.

  • name - the query parameter name.
  • value - the query parameter value.
  • index - the index of the value (starts at 0). You can use this to create a query parameter with multiple values