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.7.0.tar.bz2
md5=85b8a0746e9be8c20cf082f2573b5895
sha512=ec707820ff69ddbf9c631cf6a1c8748e82346daded1a4f73c5702128d07858f915e62d529e5fec01e99263f33eefb1586067341c058535806e0092b9d040644a

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
OCaml

Innovation. Community. Security.