package datakit-server

  1. Overview
  2. Docs

Server builder.

Parameters

Signature

type flow = Flow.flow

The type for communication "channels" between the clients and the server.

val accept : root:Vfs.Dir.t -> msg:string -> flow -> unit Protocol_9p.Error.t Lwt.t

accept ~root f accepts connection on f, processs requests and returns when the connection has beenn closed.