package bonsai

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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
type t
val persistent_connection : (module Async_rpc_kernel.Persistent_connection.S with type conn = Rpc.Connection.t and type t = 'conn) -> 'conn -> t
val async_durable : Rpc.Connection.t Async_durable.t -> t
val for_test : 's Rpc.Implementations.t -> connection_state:(Rpc.Connection.t -> 's) -> t
val test_fallback : t
OCaml

Innovation. Community. Security.