diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-28 09:28:15 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-28 09:28:15 +0200 |
commit | 39fd1ae1ca9efefb4ebafb9f1c96b20a397f9acb (patch) | |
tree | dea5195ae0851f103796fa67b0ae8f3e2165229b /portal | |
parent | 67f965c53375cece3d21b519a27d023e7c05c990 (diff) |
feat(portal): add starttls to the Portal interface
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 |