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

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.