Soap.Attachment (Soap v2.0.0)

View Source

Binary content sent or received outside the XML.

As a param value, it's sent by MTOM: the element holds an xop:Include pointing to a separate part. Passed in the :attachments option, it's sent as a SOAP-with-Attachments part with no reference in the XML.

Summary

Types

t()

@type t() :: %Soap.Attachment{
  content_type: String.t(),
  data: binary(),
  headers: [{String.t(), String.t()}],
  id: String.t() | nil
}