include sig ... endval hash_fold_t : Ppx_hash_lib.Std.Hash.state ‑> t ‑> Ppx_hash_lib.Std.Hash.stateval hash : t ‑> Ppx_hash_lib.Std.Hash.hash_valueval bin_t : t Bin_prot.Type_class.tval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : (int ‑> t) Bin_prot.Read.readerval bin_reader_t : t Bin_prot.Type_class.readerval bin_size_t : t Bin_prot.Size.sizerval bin_write_t : t Bin_prot.Write.writerval bin_writer_t : t Bin_prot.Type_class.writerval bin_shape_t : Bin_prot.Shape.tval t_of_sexp : Sexplib.Sexp.t ‑> tval sexp_of_t : t ‑> Sexplib.Sexp.tval create : string ‑> tCreates a boundary from the value of the "boundary" parameter in a Content-type header (RFC2046, p.19) Alias of to_string.
val split : t ‑> Bigstring_shared.t ‑> Bigstring_shared.t option * Bigstring_shared.t list * Bigstring_shared.t optionSplits an multipart body into a list of messages, and, if there are, an optional prologue and epilogue.
val join : t ‑> (Bigstring_shared.t option * String_monoid.t list * Bigstring_shared.t option) ‑> String_monoid.tval generate : ?text:Bigstring_shared.t ‑> ?suggest:t ‑> unit ‑> tCreates valid boundaries for given text.
Open an close boundaries
module Close : String_monoidable.S with type t := tUsed when the boundary indicates that there are no more parts
module Open_first : String_monoidable.S with type t := tUsed when the boundary indicates the beginning of the first part of the message, and there is no prologue.