Module pact_ffi::models::http_interaction
source · Expand description
Structs and functions to deal with HTTP Pact interactions
Functions§
- Destroy the
SynchronousHttp
interaction being pointed to. - Get a copy of the description.
- Get a copy of the provider state at the given index from this interaction.
- Get an iterator over provider states.
- Get the request of a
SynchronousHttp
interaction. - Get the request contents of a
SynchronousHttp
interaction in string form. - Get the request contents of a
SynchronousHttp
interaction as a pointer to an array of bytes. - Get the length of the request contents of a
SynchronousHttp
interaction. - Get the response of a
SynchronousHttp
interaction. - Get the response contents of a
SynchronousHttp
interaction in string form. - Get the response contents of a
SynchronousHttp
interaction as a pointer to an array of bytes. - Get the length of the response contents of a
SynchronousHttp
interaction. - Get a mutable pointer to a newly-created default interaction on the heap.
- Write the
description
field on theSynchronousHttp
. - Sets the request contents of the interaction.
- Sets the request contents of the interaction as an array of bytes.
- Sets the response contents of the interaction.
- Sets the response contents of the
SynchronousHttp
interaction as an array of bytes.