Attentive.Http behaviour (attentive v1.0.0)
Link to this section Summary
Link to this section Types
Link to this type
response_t()
Specs
response_t() :: %{ body: String.t(), headers: Attentive.http_headers_t(), status_code: Attentive.http_status_code_t() }
Link to this section Callbacks
Link to this callback
send(request, opts)
Specs
send(request :: Attentive.Request.t(), opts :: any()) :: {:ok, response_t()} | {:error, response_t() | any()}