diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-27 10:00:39 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-27 10:00:39 +0200 |
commit | 3a1fb81fdb94405c52ef5a78104eabdd8dafce04 (patch) | |
tree | 58c2f5cd92b176c6f5e1d8b2e6d300bae826525f /portal/portal.mli | |
parent | 7dc03676059c35eaf005732d35a1db3f3a3cee1f (diff) |
docs(portal): document Portal.t
Diffstat (limited to 'portal/portal.mli')
-rw-r--r-- | portal/portal.mli | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/portal/portal.mli b/portal/portal.mli index a9810cd..2f52547 100644 --- a/portal/portal.mli +++ b/portal/portal.mli @@ -4,6 +4,12 @@ exception MalformedStanza of location * Error.t type socket +(** The type of portals communicating with an XMPP server via [_socket]. + + [stream] is the data sent by the XMPP server. + + [push None] disconnects brutally the underlying XMPP server and closes [_socket], + without closing the element stream first. *) type t = { stream : (signal, async) stream; push : (signal, sync) stream option -> unit; |