Polyjuice Client v0.3.1 Polyjuice.Client.Endpoint View Source

Link to this section Summary

Link to this section Functions

Link to this function

content_decode(encoded, headers)

View Source
Link to this function

get_header(headers, name, default \\ nil)

View Source
get_header(
  headers :: [{String.t(), String.t()}],
  name :: String.t(),
  default :: any()
) :: any()
Link to this function

parse_response(endpoint_args, status_code, headers, body)

View Source
parse_response(
  endpoint_args :: map(),
  status_code :: integer(),
  headers :: [{String.t(), String.t()}, ...],
  body :: String.t()
) :: any()