package erm_xmpp

  1. Overview
  2. Docs
type 'a t = 'a M.t
val return : 'a -> 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val fail : exn -> 'a t
val catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
type stream = IStream(M).stream = {
  1. read : string -> int -> int -> int M.t;
  2. buf : string;
  3. mutable i : int;
  4. mutable len : int;
  5. mutable is_final : bool;
}
val refill : stream -> unit t
exception IllegalCharacter
val get : stream -> int option t
val set_decoder : string -> 'a -> unit
val make_stream : (string -> int -> int -> int M.t) -> stream
exception XmlError of string
val error : ?stream:'a -> exn -> 'b t
val next_char : stream -> (unit -> 'a t) -> (int -> 'a t) -> 'a t
OCaml

Innovation. Community. Security.