package ojs-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 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 = ..
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 Ojsft_types.file_tree list
  4. | SAdd_file of Ojsft_types.path * Ojsft_types.mime_type
  5. | SAdd_dir of Ojsft_types.path
  6. | SDelete of Ojsft_types.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 Ojsft_types.path * string
  3. | Add_dir of Ojsft_types.path
  4. | Delete of Ojsft_types.path
  5. | Rename of Ojsft_types.path * Ojsft_types.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
OCaml

Innovation. Community. Security.