Ocamlnet 4 Reference Manual : Netmime_channels

`sig
val read_mime_header :
?unfold:bool ->
?strip:bool -> ?ro:bool -> Netstream.in_obj_stream -> Netmime.mime_header
type multipart_style = [ `Deep | `Flat | `None ]
val decode_mime_body :
#Netmime.mime_header_ro ->
Netchannels.out_obj_channel -> Netchannels.out_obj_channel
val storage :
?fin:bool ->
Netmime.store -> Netmime.mime_body * Netchannels.out_obj_channel
val read_mime_message :
?unfold:bool ->
?strip:bool ->
?ro:bool ->
?multipart_style:Netmime_channels.multipart_style ->
?storage_style:(Netmime.mime_header ->
Netmime.mime_body * Netchannels.out_obj_channel) ->
Netstream.in_obj_stream -> Netmime.complex_mime_message
val encode_mime_body :
?crlf:bool ->
#Netmime.mime_header_ro ->
Netchannels.out_obj_channel -> Netchannels.out_obj_channel
val write_mime_message :
?wr_header:bool ->
?wr_body:bool ->
?nr:int ->
?ret_boundary:string Stdlib.ref ->
?crlf:bool ->
Netchannels.out_obj_channel -> Netmime.complex_mime_message -> unit
end`