Up
Module
Smtp_session
=
Types.Session
Signature
type
t = {
remote
:
Types.Address.t
;
local
:
Types.Address.t
;
helo
: string option
;
tls
:
Async_ssl.Std.Ssl.Connection.t
option
;
}
val
tls :
t
->
Async_ssl.Std.Ssl.Connection.t
option
val
helo :
t
-> string option
val
local :
t
->
Types.Address.t
val
remote :
t
->
Types.Address.t
module
Fields
: sig .. end
val
sexp_of_t :
t
->
Sexplib.Sexp.t
val
create : remote:
Types.Address.t
-> local:
Types.Address.t
-> ?helo:string -> ?tls:
Async_ssl.Std.Ssl.Connection.t
-> unit ->
t
val
cleanup :
t
-> unit
Async.Std.Deferred.Or_error.t