package nbd

  1. Overview
  2. Docs
type t
type size = int64
val negotiate : Lwt_unix.file_descr -> size -> Nbd.Flag.t list -> t Lwt.t
val close : t -> unit Lwt.t
val next : t -> Nbd.Request.t Lwt.t
val ok : t -> int64 -> Cstruct.t option -> unit Lwt.t
val error : t -> int64 -> int32 -> unit Lwt.t
OCaml

Innovation. Community. Security.