package ojs-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

type app_server_msg = App.app_server_msg = ..
module M_app_server_msg_to_yojson : sig ... end
val app_server_msg_to_yojson : app_server_msg -> Yojson.Safe.t
module M_app_server_msg_of_yojson : sig ... end
val app_server_msg_of_yojson : Yojson.Safe.t -> app_server_msg Ppx_deriving_yojson_runtime.error_or
type app_client_msg = App.app_client_msg = ..
module M_app_client_msg_to_yojson : sig ... end
val app_client_msg_to_yojson : app_client_msg -> Yojson.Safe.t
module M_app_client_msg_of_yojson : sig ... end
val app_client_msg_of_yojson : Yojson.Safe.t -> app_client_msg Ppx_deriving_yojson_runtime.error_or
type server_msg = ..
module M_server_msg_to_yojson : sig ... end
val server_msg_to_yojson : server_msg -> Yojson.Safe.t
module M_server_msg_of_yojson : sig ... end
val server_msg_of_yojson : Yojson.Safe.t -> server_msg Ppx_deriving_yojson_runtime.error_or
type server_msg +=
  1. | SOk
  2. | SError of string
  3. | STree of file_tree list
  4. | SAdd_file of path * mime_type
  5. | SAdd_dir of path
  6. | SDelete of path
type client_msg = ..
module M_client_msg_to_yojson : sig ... end
val client_msg_to_yojson : client_msg -> Yojson.Safe.t
module M_client_msg_of_yojson : sig ... end
val client_msg_of_yojson : Yojson.Safe.t -> client_msg Ppx_deriving_yojson_runtime.error_or
type client_msg +=
  1. | Get_tree
  2. | Add_file of path * string
  3. | Add_dir of path
  4. | Delete of path
  5. | Rename of path * path
val pack_server_msg : string -> server_msg -> app_server_msg
val unpack_server_msg : app_server_msg -> (string * server_msg) option
val pack_client_msg : string -> client_msg -> app_client_msg
val unpack_client_msg : app_client_msg -> (string * client_msg) option
type app_server_msg +=
  1. | SFiletree of string * server_msg
type app_client_msg +=
  1. | Filetree of string * client_msg
OCaml

Innovation. Community. Security.