package colombe

  1. Overview
  2. Docs
type ('s, 'error) process =
  1. | Read of {
    1. buffer : bytes;
    2. off : int;
    3. len : int;
    4. k : int -> ('s, 'error) process;
    }
  2. | Write of {
    1. buffer : string;
    2. off : int;
    3. len : int;
    4. k : int -> ('s, 'error) process;
    }
  3. | Return of 's
  4. | Error of 'error
type ctx = {
  1. encoder : Encoder.encoder;
  2. decoder : Decoder.decoder;
}
val make_ctx : unit -> ctx
module type PROTOCOL = sig ... end
module Make (State : Sigs.FUNCTOR) (Protocol : PROTOCOL) : sig ... end
OCaml

Innovation. Community. Security.