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/class-connection_group/index.html

Class Make.connection_groupSource

val mutable connections : ((Rpc.app_server_msg -> unit Lwt.t) * Rpc.t) list
val mutable handle_message : (Rpc.app_server_msg -> unit Lwt.t) -> Rpc.t -> Rpc.app_client_msg -> unit Lwt.t
method add_connection : Websocket.Frame.t Lwt_stream.t -> (Websocket.Frame.t -> unit Lwt.t) -> unit Lwt.t
method broadcall : Rpc.app_server_msg -> (Rpc.app_client_msg -> unit Lwt.t) -> unit Lwt.t
method broadcast : Rpc.app_server_msg -> unit Lwt.t
method handle_message : (Rpc.app_server_msg -> unit Lwt.t) -> Rpc.t -> Rpc.app_client_msg -> unit Lwt.t
method remove_connection : (Rpc.app_server_msg -> unit Lwt.t) -> unit
method set_handle_message : ((Rpc.app_server_msg -> unit Lwt.t) -> Rpc.t -> Rpc.app_client_msg -> unit Lwt.t) -> unit