AccessGrid.HttpResponse (AccessGrid v0.1.0)

Copy Markdown View Source

Represents a successful HTTP response (2xx status codes).

All HTTP client implementations must normalize their responses to this struct.

Summary

Types

t()

@type t() :: %AccessGrid.HttpResponse{
  body_decoded: term(),
  body_raw: binary(),
  content_type: String.t() | nil,
  headers: [{String.t(), String.t()}],
  status: integer()
}