package mrmime

  1. Overview
  2. Docs

Module Mrmime.Content_encodingSource

Content-Transfer-Encoding value

Sourcetype t = [
  1. | `Bit7
  2. | `Bit8
  3. | `Binary
  4. | `Quoted_printable
  5. | `Base64
  6. | `Ietf_token of string
  7. | `X_token of string
]

Type for standard mechanism for encoding.

Basic encodings.

Sourceval bit8 : t
Sourceval bit7 : t
Sourceval binary : t
Sourceval quoted_printable : t
Sourceval base64 : t
Sourceval default : t

An encoding type of 7bit requires that the body is already in a 7bit mail-ready representation. This is the default value.

Sourceval of_string : string -> (t, [> `Msg of string ]) result

of_string x is the standard mechanism x. If x is an invalid mechanism, of_string returns an error.

Equals.

Sourceval equal : t -> t -> bool

Equal function of t.

Pretty-printers.

Sourceval pp : Format.formatter -> t -> unit

Pretty-printer for t.

Decoder of Content-Encoding's value.

Sourcemodule Decoder : sig ... end

Encoder of Content-Encoding's value.

Sourcemodule Encoder : sig ... end
OCaml

Innovation. Community. Security.