diff options
Diffstat (limited to 'portal')
-rw-r--r-- | portal/portal.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/portal/portal.mli b/portal/portal.mli index 744a579..18a7ccf 100644 --- a/portal/portal.mli +++ b/portal/portal.mli @@ -36,3 +36,7 @@ val close : (signal, sync) stream (** [connect domain] returns a Portal connected to the XMPP server [domain]. *) val connect : string -> t Lwt.t + +(** [starttls portal] mutates [portal] into a TLS-encrypted stream with the same + state. *) +val starttls : t -> unit Lwt.t |