Up
Module
Media_type
Signature
type
t
include
Core.Std.Stringable.S
with
type
t
:=
t
type
t
val
of_string : string ->
t
val
to_string :
t
-> string
include
String_monoidable.S
with
type
t
:=
t
type
t
val
to_string_monoid :
t
->
String_monoid.t
val
create : ?params:(
Headers.Name.t
* string) list -> string -> string ->
t
val
mime_type :
t
-> string
val
mime_subtype :
t
-> string
val
params :
t
-> (
Headers.Name.t
* string) list
val
param :
t
->
Headers.Name.t
-> string option
val
is_multipart :
t
-> bool
val
is_digest :
t
-> bool
val
is_simple :
t
-> bool
val
is_composite :
t
-> bool
A composite message may be decomposed into several submessages
val
mode :
t
-> [
| `Text
| `Binary
]
val
multipart_boundary :
t
->
Boundary.t
option
val
last :
Headers.t
->
t
option
val
set_at_bottom :
Headers.t
->
t
->
Headers.t
val
default : parent:
t
option ->
t