Dust.Requests.Result (Dust v0.0.2-dev) View Source

Result struct to store response data

Link to this section Summary

Types

t()

Result struct

Link to this section Types

Specs

t() :: %Dust.Requests.Result{
  assets: [Dust.Asset.t()],
  base_url: String.t() | nil,
  content: String.t(),
  duration: pos_integer(),
  error: HTTPoison.Error.t(),
  full_content: [String.t()],
  size: pos_integer(),
  status: pos_integer()
}

Result struct

Link to this section Functions

Link to this function

from_request(arg, duration)

View Source