1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Parameters
module Encoding : Resto.ENCODING
Signature
type t = {
name : Cohttp.Accept.media_range; |
q : int option; |
pp : 'a. 'a Encoding.t -> Format.formatter -> string -> unit; |
construct : 'a. 'a Encoding.t -> 'a -> string; |
construct_seq : 'a. 'a Encoding.t -> 'a -> (Bytes.t * int * int) Seq.t; |
destruct : 'a. 'a Encoding.t -> string -> ( 'a, string ) result; |
}
val name : t -> string
val has_complete_media : t list -> bool
val accept_header : t list -> string
val acceptable_encoding : t list -> string