API Reference Loopback v#0.1.0

Copy Markdown View Source

Modules

Run your tests against fake external services.

An HTTP transport error, like a timeout, returned by the fakes instead of a response.

A fake of an HTTP service that handles intercepted requests.

A Loopback.HTTPFake with a routing DSL and helpers for the state.

An intercepted HTTP request, as received by the fakes.

A response to an intercepted HTTP request, as returned by the fakes.

Interceptors replace functions of HTTP clients, so that their requests reach the fakes.

An interceptor for Finch, and the clients built on it.

An interceptor for hackney, and the clients built on it, like HTTPoison and Tesla.Adapter.Hackney.

An interceptor for :httpc, the HTTP client of Erlang/OTP, and the clients built on it, like Tesla's default adapter, Tesla.Adapter.Httpc.

An interceptor for Tesla.Adapter.Gun, Tesla's adapter for gun.

An interceptor for Tesla.Adapter.Mint, Tesla's adapter for Mint.