include sig ... end
val sexp_of_t : t ‑> Base.Sexp.t
val create : string ‑> t
Creates a boundary from the value of the "boundary" parameter in a Content-type header (RFC2046, p.19) Alias of to_string.
val split : t ‑> Email_message.Bigstring_shared.t ‑> Email_message.Bigstring_shared.t option * Email_message.Bigstring_shared.t list * Email_message.Bigstring_shared.t option
Splits an multipart body into a list of messages, and, if there are, an optional prologue and epilogue.
val join : t ‑> (Email_message.Bigstring_shared.t option * Email_message.String_monoid.t list * Email_message.Bigstring_shared.t option) ‑> Email_message.String_monoid.t
val generate : ?text:Email_message.Bigstring_shared.t ‑> ?suggest:t ‑> unit ‑> t
Creates valid boundaries for given text.
Open an close boundaries
module Open : Email_message__.String_monoidable.S with type t := t
Used when the boundary indicates a new part
module Close : Email_message__.String_monoidable.S with type t := t
Used when the boundary indicates that there are no more parts
module Open_first : Email_message__.String_monoidable.S with type t := t
Used when the boundary indicates the beginning of the first part of the message, and there is no prologue.
module Stable : sig ... end