package obus

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type mechanism_return =
  1. | Mech_continue of data
  2. | Mech_ok of data
  3. | Mech_error of string
class virtual mechanism_handler : object ... end
type mechanism = {
  1. mech_name : string;
  2. mech_exec : unit -> mechanism_handler;
}
val mech_name : mechanism -> string
val mech_exec : mechanism -> unit -> mechanism_handler
val mech_external : mechanism
val mech_anonymous : mechanism
val default_mechanisms : mechanism list
val authenticate : ?capabilities:capability list -> ?mechanisms:mechanism list -> stream:stream -> unit -> (OBus_address.guid * capability list) Lwt.t