diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-28 09:28:15 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-28 16:44:54 +0200 |
commit | 3250b3b0da536e4fbfc1290886e98a02a2f51c15 (patch) | |
tree | 82480dab6f95a041158c8e6fc1437a62a7b582e4 | |
parent | 6687016c7e95f9a9788eb1ec49eab9decf855a78 (diff) |
feat(portal): add starttls to the Portal interface
-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 |