API Reference HTTPEx v0.2.0

View Source

Modules

HTTPEx provides common functionality to do HTTP calls like GET and POST via a HTTP client (like HTTPoison, Finch etc.).

The default backend for HTTP calls. Uses actual the actual http implementation.

Backend for mocked HTTP requests

Defines a HTTP mock expectation. Consists of a matching part and an expectation part.

This can be used in your test suite for convenience. These macros add tracing to your expectations making them easier to spot if you miss expected calls.

Finch driver

HTTPoison driver

Handles all the HTTP logging and tracing