freshness v0.2.1 Freshness.Response View Source

Link to this section Summary

Link to this section Types

Link to this type

t()

View Source
t() :: %Freshness.Response{
  data: iolist(),
  headers: [{String.t(), binary()}],
  status: non_neg_integer()
}

Link to this section Functions

Link to this function

generate_response(stream)

View Source
generate_response([any()]) :: {:error, any()} | {:ok, t()}