DSpace.API.HTTP.Response (dspace_ex v0.1.0-alpha2)

Copy Markdown View Source

Response structure used by HTTP adapters.

Summary

Types

t()

@type t() :: %DSpace.API.HTTP.Response{
  body: map() | binary() | term(),
  headers: %{optional(binary()) => [binary()]},
  request_url: URI.t(),
  status: non_neg_integer()
}

Functions

format(response)

@spec format(t()) :: binary()