aws_ex_ray v0.1.16 AwsExRay.HTTPClientUtil

This module provides some utility functions for HTTP client

Link to this section Summary

Link to this section Functions

Link to this function

find_tracing_name(headers, url)
find_tracing_name(keyword(), String.t()) :: String.t()

Link to this function

get_response_content_length(headers)
get_response_content_length(keyword()) :: integer()

Link to this function

get_user_agent(headers)
get_user_agent(keyword()) :: String.t()

Link to this function

put_response_error(seg, status, stack)
put_response_error(
  seg :: AwsExRay.Segment.t(),
  status :: integer(),
  stack :: list()
) :: AwsExRay.Segment.t()

Link to this function

put_tracing_header(headers, subsegment)
put_tracing_header(keyword(), AwsExRay.Subsegment.t()) :: keyword()