antikythera v0.2.0 Antikythera.Httpc.ReqBody View Source

Type for Antikythera.Httpc’s request body.

Link to this section Summary

Link to this section Types

Link to this type json_obj() View Source
json_obj() :: %{optional(atom() | String.t()) => any()}
Link to this type t() View Source
t() ::
  binary() |
  {: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