API Reference http_double v#1.0.0

Copy Markdown View Source

Modules

Public API for starting and controlling dummy HTTP servers for integration tests.

OTP application entry point for :http_double.

Per-client connection process.

Evaluation engine for mock and expectation rules.

Representation of a mock or expectation rule for HTTP requests.

Minimal Plug that forwards every request to HttpDouble.Server. Used when the server runs on Plug.Cowboy (not from the test process).

Converts between Plug.Conn and HttpDouble.Request/response_spec.

Representation of a parsed HTTP/1.1 request.

Helpers and struct for building HTTP responses.

Representation of a static HTTP route.

OTP process that runs an HTTP server via Plug.Cowboy, holds static routes and mock rules, and records HTTP call history.