package ojs_base

  1. Overview
  2. Docs
Base library for developing OCaml web apps based on websockets and js_of_ocaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ojs-base-0.9.0.tar.bz2
md5=d1280f8b88bd6e03f62084c63027cf47
sha512=ff933d51b7a64a4d7356442284f0d992de746523fb28217d01c7d4ca0f461920b9f05d2f22ae4ba51f5a819c6b923e64b600150164ae58439b86e186d284b2ee

doc/ojs_base.server/Ojs_server/Server/Make/argument-1-P/index.html

Parameter Make.P

include Ojs_base.Rpc.B
include Ojs_base.Types.App_msg
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
val pack_server_return : Ojs_base.Rpc.call_id -> app_server_msg -> app_server_msg
val pack_client_return : Ojs_base.Rpc.call_id -> app_client_msg -> app_client_msg
val msg_of_wsdata : string -> app_client_msg option
val wsdata_of_msg : app_server_msg -> string