aboutsummaryrefslogtreecommitdiff
path: root/portal/lib/portal.mli
diff options
context:
space:
mode:
Diffstat (limited to 'portal/lib/portal.mli')
-rw-r--r--portal/lib/portal.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/portal/lib/portal.mli b/portal/lib/portal.mli
index 5da97ad..a560f5e 100644
--- a/portal/lib/portal.mli
+++ b/portal/lib/portal.mli
@@ -2,6 +2,14 @@ open Markup
type t = (signal, async) stream * ((signal, sync) stream option -> unit)
+(** This is the XML namespace of the underlying element stream.
+
+ You can rely on it on your code, as an escape hatch, but you should probably not,
+ since the Portal interface is supposed to be agnostic.
+
+ Still, bad implementations exist -- Use with care. *)
+val xmlns : string
+
val stanza_open : ?from:string -> string -> (signal, sync) stream
val stanza_close : (signal, sync) stream