Karta.Inbound.Formats (Karta v1.0.0)

The request for an HTTP endpoint whose format carries a received message as parsed fields, rather than as the message itself:

build/5 parses the message once (Karta.Inbound.MailFields) and gives it to the format's builder, so every format reads the same fields from the same reader. A message the parser refuses (its limits) is a delivery that fails: {:error, reason}, with no request made.

Summary

Functions

The headers and body of the request for delivery, or the reason the message could not be read.

The formats build/5 builds.

Functions

build(endpoint, delivery, message, raw, now)

The headers and body of the request for delivery, or the reason the message could not be read.

formats()

@spec formats() :: [atom()]

The formats build/5 builds.