# http_double v1.0.0 - API Reference

## Modules

- [HttpDouble](HttpDouble.md): Public API for starting and controlling dummy HTTP servers for integration tests.
- [HttpDouble.Application](HttpDouble.Application.md): OTP application entry point for `:http_double`.
- [HttpDouble.Connection](HttpDouble.Connection.md): Per-client connection process.
- [HttpDouble.MockEngine](HttpDouble.MockEngine.md): Evaluation engine for mock and expectation rules.
- [HttpDouble.MockRule](HttpDouble.MockRule.md): Representation of a mock or expectation rule for HTTP requests.
- [HttpDouble.Plug](HttpDouble.Plug.md): Minimal Plug that forwards every request to HttpDouble.Server.
Used when the server runs on Plug.Cowboy (not from the test process).

- [HttpDouble.PlugAdapter](HttpDouble.PlugAdapter.md): Converts between Plug.Conn and HttpDouble.Request/response_spec.
- [HttpDouble.Request](HttpDouble.Request.md): Representation of a parsed HTTP/1.1 request.
- [HttpDouble.Response](HttpDouble.Response.md): Helpers and struct for building HTTP responses.
- [HttpDouble.Route](HttpDouble.Route.md): Representation of a static HTTP route.
- [HttpDouble.Server](HttpDouble.Server.md): OTP process that runs an HTTP server via Plug.Cowboy, holds static routes
and mock rules, and records HTTP call history.

