diff options
Diffstat (limited to 'lib/stream.ml')
-rw-r--r-- | lib/stream.ml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/stream.ml b/lib/stream.ml index dff2b0e..5743318 100644 --- a/lib/stream.ml +++ b/lib/stream.ml @@ -4,6 +4,8 @@ open Markup exception ClosedStream exception InvalidStanza of string +type auth_mechanism = PLAIN [@@deriving show { with_path = false }] + let get (stream : (signal, async) stream) : (signal, sync) stream Lwt.t = (** [stanza stream] is a promise containing a full stanza of the fragments of [stream].*) |