package ojs_ed

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Ojs_base.Types.App_msg with type app_server_msg = P.app_server_msg with type app_client_msg = P.app_client_msg
type app_server_msg = P.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 = P.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
include Ojs_ed.Types.B with type server_msg = P.server_msg with type client_msg = P.client_msg
type server_msg = P.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. | SError of string
  2. | SOk of string
  3. | SFile_contents of Ojs_ed.Types.path * string
type client_msg = P.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_file_contents of Ojs_ed.Types.path
  2. | Save_file of Ojs_ed.Types.path * string
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.