View Source AnyHttp.Response (Any HTTP v0.1.1)

Defines a generic struct to encapsulate a HTTP response.

Summary

Types

@type t() :: %AnyHttp.Response{
  body: nil | binary(),
  headers: [{binary(), binary()}],
  status: pos_integer()
}