httpoison_form_data v0.1.2 FormData.Formatters.Multipart
Link to this section Summary
Functions
The Multipart output function wraps the output of format
in a structure
denoting to HTTPoison (and hackney) that the data to be submitted is
multipart
Link to this section Types
Link to this section Functions
Link to this function
output(stream, opts)
output(stream :: Stream.t, _opts :: any) :: FormData.Formatters.Multipart.t
The Multipart output function wraps the output of format
in a structure
denoting to HTTPoison (and hackney) that the data to be submitted is
multipart.
Examples
iex> FormData.Formatters.Multipart.output([{:key, "one"}], [])
{ :multipart, [{ "", "one", { "form-data", [ {"name", "\"key\""} ] }, [] }] }