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.8.0.tar.bz2
md5=e706f1f9ec2f935d29c6b6e4832c8bdf
sha512=2596f6c59bea9c6b89923099c604a0e095a96880e7e91b06357e1de50867ae7e0261c87c35f608b7e426bddd6dd025a9868c07499287116ed458de4a0b9e9f30

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.