type t
=
{
remote : Address.t; |
local : Address.t; |
helo : string option; |
tls : Async_ssl.Std.Ssl.Connection.t option; |
authenticated : string option; |
advertised_extensions : Smtp_extension.t list; |
}
include sig ... end
val advertised_extensions : t ‑> Smtp_extension.t list
val authenticated : t ‑> string option
val tls : t ‑> Async_ssl.Std.Ssl.Connection.t option
val helo : t ‑> string option
module Fields : sig ... end
val sexp_of_t : t ‑> Sexplib.Sexp.t
val create : remote:Address.t ‑> local:Address.t ‑> ?helo:string ‑> ?tls:Async_ssl.Std.Ssl.Connection.t ‑> ?authenticated:string ‑> ?advertised_extensions:Smtp_extension.t list ‑> unit ‑> t
val cleanup : t ‑> unit Async.Deferred.Or_error.t