aws_ex_ray v0.1.16 AwsExRay.Record.HTTPResponse

This module provides a data structure which represents http.response report.

Link to this section Summary

Link to this section Types

Link to this type

t()
t() :: %AwsExRay.Record.HTTPResponse{
  length: non_neg_integer(),
  status: non_neg_integer()
}

Link to this section Functions

Link to this function

new(status, length)
new(status :: non_neg_integer(), length :: non_neg_integer()) ::
  %AwsExRay.Record.HTTPResponse{length: term(), status: term()}

Link to this function

to_map(res)
to_map(%AwsExRay.Record.HTTPResponse{length: term(), status: term()}) :: map()