View Source Tw.HTTP.Client.Stub (Tw v0.1.1)

Stub HTTP client adapter mainly for testing.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Link to this section Types

Specs

stub() ::
  {{atom(), binary(), binary() | Regex.t()} | {atom(), binary()},
   Tw.HTTP.Client.response()}

Specs

stubs() :: [stub()]

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.