View Source Chaperon.Action.HTTP (chaperon v0.3.1)
HTTP based actions to be run in a Chaperon.Scenario
module for a given
Chaperon.Session
.
This supports GET
, POST
, PUT
, PATCH
, DELETE
& HEAD
requests with
support for optional headers & query params.
Link to this section Summary
Link to this section Types
@type method() :: :get | :post | :put | :patch | :delete | :head
@type t() :: %Chaperon.Action.HTTP{ body: binary(), callback: Chaperon.Session.result_callback(), decode: :json | (HTTPoison.Response.t() -> any()), headers: map(), method: method(), metrics_url: String.t(), params: map(), path: String.t() }