package bonsai

  1. Overview
  2. Docs
A library for building dynamic webapps, using Js_of_ocaml

Install

Dune Dependency

Authors

Maintainers

Sources

bonsai-v0.16.0.tar.gz
sha256=1d68aab713659951eba5b85f21d6f9382e0efa8579a02c3be65d9071c6e86303

doc/bonsai.web/Bonsai_web/Rpc_effect/index.html

Module Bonsai_web.Rpc_effectSource

Sourcemodule Where_to_connect : sig ... end

The place that an RPC should be sent.

Sourcemodule Poll_result : sig ... end

The various rpc polling functions in this module return a Poll_result.t, containing the current state and some historical state of the RPC.

Sourcemodule Shared_poller : sig ... end

A Shared_poller is a handle to a polling-style RPC whose RPCs can be shared between multiple components that might have an interest in polling values with the same types.

Sourcemodule Rpc : sig ... end
Sourcemodule Polling_state_rpc : sig ... end
Sourcemodule Status : sig ... end
Sourcemodule Connector : sig ... end

A connector specifies a way of creating a connection. This module is exposed to cover exceptional cases; ordinarily, you should prefer to use the Self and Url constructors of Where_to_connect.t, which have a connector backing them that you don't need to explicitly provide.

Sourcemodule Private : sig ... end

This module contains functions intended for use by Bonsai's internal startup code. Ordinarily, you shouldn't need to call any of them.

OCaml

Innovation. Community. Security.