View Source pact_consumer_http (pact_erlang v0.2.0)

Summary

Types

-type consumer() :: binary().
Link to this type

pact_interaction_details/0

View Source
-type pact_interaction_details() :: map().
Link to this type

pact_interaction_ref/0

View Source
-type pact_interaction_ref() :: integer().
Link to this type

pact_mock_server_port/0

View Source
-type pact_mock_server_port() :: integer().
-type pact_pid() :: pid().
-type pact_ref() :: integer().
-type provider() :: binary().
-type request_details() :: map().
-type response_details() :: map().

Functions

Link to this function

cleanup_interaction(PactPid)

View Source
-spec cleanup_interaction(pact_pid()) -> ok.
Link to this function

interaction(PactPid, Interaction)

View Source
-spec interaction(pact_pid(), pact_interaction_details()) -> {ok, pact_mock_server_port()}.
-spec v4(consumer(), provider()) -> pact_pid().