[][src]Module pact_mock_server_ffi::bodies

Functions to support processing request/response bodies

Structs

MultipartBody

Representation of a multipart body

Functions

empty_multipart_body

Create an empty MIME Multipart body

file_as_multipart_body

Loads an example file as a MIME Multipart body

from_integration_json

Builds a MatchingRule from a Value struct used by language integrations

process_array

Process an array with embedded matching rules and generators

process_json

Process a JSON body with embedded matching rules and generators

process_json_value

Process a JSON body with embedded matching rules and generators

process_object

Process an object (map) with embedded matching rules and generators

request_multipart

Setup the request as a multipart form upload

response_multipart

Setup the response as a multipart form upload