Up

module Headers

: sig
#
type 'a field_list = 'a Field_list.t
include module type of Field_list with type 'a t := 'a field_list
#
type t = string field_list
include String_monoidable.S with type t := t
#
val empty : t
#
val add : t -> name:string -> string -> t
#
val add_at_bottom : t -> name:string -> string -> t
#
val set : t -> name:string -> string -> t
#
val set_at_bottom : t -> name:string -> string -> t
#
module Content_type : sig

Accesses "Content-type" fields

#
val last : t -> Media_type.t option
#
val default : parent:Media_type.t option -> Media_type.t
end
#
val compare_field_list : ('a -> 'a -> int) -> 'a field_list -> 'a field_list -> int
#
val bin_field_list : 'a Core.Std.Bin_prot.Type_class.t -> 'a field_list Core.Std.Bin_prot.Type_class.t
#
val bin_read_field_list : 'a Core.Std.Bin_prot.Read.reader -> 'a field_list Core.Std.Bin_prot.Read.reader
#
val __bin_read_field_list__ : 'a Core.Std.Bin_prot.Read.reader -> (int -> 'a field_list) Core.Std.Bin_prot.Read.reader
#
val bin_reader_field_list : 'a Core.Std.Bin_prot.Type_class.reader -> 'a field_list Core.Std.Bin_prot.Type_class.reader
#
val bin_size_field_list : 'a Core.Std.Bin_prot.Size.sizer -> 'a field_list Core.Std.Bin_prot.Size.sizer
#
val bin_write_field_list : 'a Core.Std.Bin_prot.Write.writer -> 'a field_list Core.Std.Bin_prot.Write.writer
#
val bin_writer_field_list : 'a Core.Std.Bin_prot.Type_class.writer -> 'a field_list Core.Std.Bin_prot.Type_class.writer
#
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
#
val compare : t -> t -> int
#
val bin_t : t Core.Std.Bin_prot.Type_class.t
#
val bin_read_t : t Core.Std.Bin_prot.Read.reader
#
val __bin_read_t__ : (int -> t) Core.Std.Bin_prot.Read.reader
#
val bin_reader_t : t Core.Std.Bin_prot.Type_class.reader
#
val bin_size_t : t Core.Std.Bin_prot.Size.sizer
#
val bin_write_t : t Core.Std.Bin_prot.Write.writer
#
val bin_writer_t : t Core.Std.Bin_prot.Type_class.writer
#
val t_of_sexp : Sexplib.Sexp.t -> t
#
val sexp_of_t : t -> Sexplib.Sexp.t
end