package ojs_base

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

Install

Dune Dependency

Authors

Maintainers

Sources

ojs-base-0.8.0.tar.bz2
md5=e706f1f9ec2f935d29c6b6e4832c8bdf
sha512=2596f6c59bea9c6b89923099c604a0e095a96880e7e91b06357e1de50867ae7e0261c87c35f608b7e426bddd6dd025a9868c07499287116ed458de4a0b9e9f30

doc/ojs_base.server/Ojs_server/Server/index.html

Module Ojs_server.ServerSource

Server-side utilities.

Sourcemodule SMap : Map.S with type key = string
Sourceval mk_msg_of_wsdata : (J.t -> ('a, string) result) -> string -> 'a option
Sourceval mk_send_msg : ('a -> string) -> (Websocket.Frame.t -> unit Lwt.t) -> 'a -> unit Lwt.t
Sourceval mk_msg_stream : (string -> 'a option) -> Websocket.Frame.t Lwt_stream.t -> 'a Lwt_stream.t
Sourceval handle_messages : (string -> 'a option) -> ('b -> string) -> (('b -> unit Lwt.t) -> unit Lwt.t) -> Websocket.Frame.t Lwt_stream.t -> (Websocket.Frame.t -> unit Lwt.t) -> unit Lwt.t
Sourcemodule type P = sig ... end
Sourcemodule type S = sig ... end
OCaml

Innovation. Community. Security.