diff options
author | Clombrong <cromblong@egregore.fun> | 2025-06-18 21:56:11 +0200 |
---|---|---|
committer | Clombrong <cromblong@egregore.fun> | 2025-06-18 21:56:29 +0200 |
commit | bdf6f81078dea3babcdf746f9717a3efa53abf8f (patch) | |
tree | d2340636b35c364645aa7b33b9887b5d95d74178 /lib/stream.ml | |
parent | 77ba1edd65af014989fc52d42718370d42932427 (diff) |
refactor(stream): move auth_mecchanism from sasl to stream
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].*) |