ExDadata.HTTPAdapter.Response (ExDadata v0.1.0) View Source

Response struct.

Link to this section Summary

Types

JSON-body for the request, provided as json-encodable data.

A headers provided for the request.

t()

The response struct on which the main logic depends.

Link to this section Types

Specs

body() :: term()

JSON-body for the request, provided as json-encodable data.

Specs

header() :: {String.t(), String.t()}

A headers provided for the request.

Specs

t() :: %ExDadata.HTTPAdapter.Response{
  body: body(),
  headers: [header()],
  status: non_neg_integer()
}

The response struct on which the main logic depends.