Server.Makemodule Log : sig ... endmodule Filesystem : sig ... endval connect :
Filesystem.t ->
FLOW.flow ->
?msize:int32 ->
?exn_converter:exn_converter ->
unit ->
(t, [ `Msg of string ]) Stdlib.result Lwt.tEstablish a fresh connection to a 9P client. msize gives the maximum message size we support: the client may request a lower value. receive_cb will be called with every 9P request.
val get_info : t -> Protocol_9p__.Protocol_9p_info.tReturn information about the current connection
val disconnect : t -> unit Lwt.tdisconnect connection causes the connection connection to close after the next message is processed. Once the connection has been disconnected, the returned thread will resolve.
val after_disconnect : t -> unit Lwt.tafter_disconnect connection resolves after connection has disconnected.