package resp-unix

  1. Overview
  2. Docs

Module Server.MakeSource

Parameters

module Data : sig ... end

Signature

include Resp_server.SERVER with type ic = Reader.ic with type oc = Writer.oc with type server = Conduit_lwt_unix.ctx * Conduit_lwt_unix.server with type data = Data.data
Sourcetype ic = Reader.ic
Sourcetype oc = Writer.oc
type data = Data.data
Sourceval run : server -> ((ic * oc) -> unit Lwt.t) -> unit Lwt.t
module Value : Resp.S with type Reader.ic = ic and type Writer.oc = oc
module Auth = Auth
Sourcetype client = Reader.ic * Writer.oc
Sourcetype command = data -> client -> string -> int -> unit Lwt.t
Sourcetype t
Sourceval discard_n : client -> int -> unit Lwt.t
Sourceval finish : client -> nargs:int -> int -> unit Lwt.t
Sourceval ok : client -> unit Lwt.t
Sourceval error : client -> string -> unit Lwt.t
Sourceval invalid_arguments : client -> unit Lwt.t
Sourceval send : client -> Resp.t -> unit Lwt.t
Sourceval recv : client -> Resp.t Lwt.t
Sourceval create : ?auth:Auth.t -> ?commands:(string * command) list -> ?default:string -> server -> data -> t
Sourceval start : t -> unit Lwt.t
OCaml

Innovation. Community. Security.