Up

Module Email_headers = Headers

Signature

type 'a field_list = 'a Field_list.t
val compare_field_list : ('a -> 'a -> int) -> 'a field_list -> 'a field_list -> int
val __bin_read_field_list__ : 'a Core.Std.Bin_prot.Read.reader -> (int -> 'a field_list) Core.Std.Bin_prot.Read.reader
val field_list_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a field_list
val sexp_of_field_list : ('a -> Sexplib.Sexp.t) -> 'a field_list -> Sexplib.Sexp.t
include module type of Field_list with type 'a t := 'a field_list
type 'a t = (Field_name.t * 'a) list
val compare : ('a -> 'a -> int) -> 'a t -> 'a t -> int
val bin_read_t : 'a Bin_prot.Read.reader -> 'a t Bin_prot.Read.reader
val __bin_read_t__ : 'a Bin_prot.Read.reader -> (int -> 'a t) Bin_prot.Read.reader
val bin_size_t : 'a Bin_prot.Size.sizer -> 'a t Bin_prot.Size.sizer
val bin_write_t : 'a Bin_prot.Write.writer -> 'a t Bin_prot.Write.writer
val t_of_sexp : (Sexplib.Sexp.t -> 'a) -> Sexplib.Sexp.t -> 'a t
val sexp_of_t : ('a -> Sexplib.Sexp.t) -> 'a t -> Sexplib.Sexp.t
val hash : _ t -> int
val last : 'a t -> string -> 'a option
val add : 'a t -> name:string -> 'a -> 'a t
val add_at_bottom : 'a t -> name:string -> 'a -> 'a t
val set : 'a t -> name:string -> 'a -> 'a t
val set_at_bottom : 'a t -> name:string -> 'a -> 'a t
val find_all : 'a t -> string -> 'a list
val names : 'a t -> Field_name.t list
type t = string field_list
val compare : t -> t -> int
val __bin_read_t__ : (int -> t) Core.Std.Bin_prot.Read.reader
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
include String_monoidable.S with type t := t
type t
val to_string_monoid : t -> String_monoid.t
val empty : t
val add : t -> name:string -> value:string -> t
val add_at_bottom : t -> name:string -> value:string -> t
val set : t -> name:string -> value:string -> t
val set_at_bottom : t -> name:string -> value:string -> t
module Content_type : sig .. end
Accesses "Content-type" fields