summaryrefslogtreecommitdiff
path: root/portal/lib/portal.mli
blob: a560f5e6ec61093a23cf91a4527f393630b4125e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

val connect : string -> t Lwt.t