package apero-net

  1. Overview
  2. Docs
type 'a io_init = TxSession.t -> 'a Lwt.t
type 'a io_service = TxSession.t -> 'a -> 'a Lwt.t
type config
type 'a t
val make : config -> 'a t
val mtu : mtu
val start : 'a t -> 'a io_init -> 'a io_service -> unit Lwt.t
val stop : 'a t -> unit Lwt.t
val config : 'a t -> config
val socket : 'a t -> Lwt_unix.file_descr
val establish_session : 'a t -> Locator.Locator.t -> TxSession.t Lwt.t
OCaml

Innovation. Community. Security.