package sendmail

  1. Overview
  2. Docs

Module type Sendmail_with_starttls.SSource

Sourcetype 'x send
Sourcetype 'x recv
Sourcemodule Value : sig ... end
Sourcetype error = [
  1. | `Protocol of Value.error
  2. | `Tls_alert of Tls.Packet.alert_type
  3. | `Tls_failure of Tls.Engine.failure
]
Sourceval pp_error : error Fmt.t
Sourcetype encoder
Sourcetype decoder
Sourceval starttls_as_client : encoder -> Tls.Config.client -> (unit, [> error ]) Colombe.State.t
Sourceval starttls_as_server : decoder -> Tls.Config.server -> (unit, [> error ]) Colombe.State.t
Sourceval close : encoder -> (unit, [> error ]) Colombe.State.t
Sourceval encode : encoder -> 'a send -> 'a -> (unit, [> error ]) Colombe.State.t
Sourceval decode : decoder -> 'a recv -> ('a, [> error ]) Colombe.State.t