package ojs_base

  1. Overview
  2. Docs

Parameters

module P : Types.App_msg

Signature

include 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
type app_server_msg +=
  1. | SCall of call_id * app_server_msg
  2. | SReturn of call_id * app_server_msg
val pack_server_call : call_id -> app_server_msg -> app_server_msg
val pack_server_return : call_id -> app_server_msg -> app_server_msg
val pack_client_call : call_id -> app_client_msg -> app_client_msg
val pack_client_return : call_id -> app_client_msg -> app_client_msg
OCaml

Innovation. Community. Security.