diff options
Diffstat (limited to 'portal/portal.mli')
-rw-r--r-- | portal/portal.mli | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/portal/portal.mli b/portal/portal.mli index d57a839..1fe90ef 100644 --- a/portal/portal.mli +++ b/portal/portal.mli @@ -2,10 +2,13 @@ open Markup exception MalformedStanza of location * Error.t -type t = (signal, async) stream * ((signal, sync) stream option -> unit) - type socket +type t = { + stream : (signal, async) stream; + push : (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, |