antikythera v0.4.0 Antikythera.Httpc.ReqBody View Source

Type for Antikythera.Httpc's request body.

Link to this section Summary

Link to this section Types

Specs

json_obj() :: %{required(atom() | String.t()) => any()}

Specs

t() ::
  binary()
  | iolist()
  | {:form, [{term(), term()}]}
  | {:json, json_obj()}
  | {:file, Path.t()}

Link to this section Functions

Link to this function

convert_body_and_headers_by_body_type(body, headers)

View Source

Specs

valid?(term()) :: boolean()