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/Connector/index.html

Module Rpc_effect.ConnectorSource

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.

module Rpc := Async_rpc_kernel.Rpc
Sourcetype t
Sourceval persistent_connection : (module Async_rpc_kernel.Persistent_connection.S with type conn = Rpc.Connection.t and type t = 'conn) -> 'conn -> t
Sourceval for_test : 's Rpc.Implementations.t -> connection_state:(Rpc.Connection.t -> 's) -> t
Sourceval test_fallback : t
OCaml

Innovation. Community. Security.