package bonsai

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb

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