View Source Antikythera.Httpc.ReqBody (antikythera v0.5.1)

Type for Antikythera.Httpc's request body.

Summary

Types

@type json_obj() :: %{required(atom() | String.t()) => any()}
@type t() ::
  binary()
  | iolist()
  | {:form, [{term(), term()}]}
  | {:json, json_obj()}
  | {:file, Path.t()}

Functions

Link to this function

convert_body_and_headers_by_body_type(body, headers)

View Source
@spec valid?(term()) :: boolean()