package rpc_parallel

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

The name of the backend -- e.g. "Unauthenticated Async RPC". Must be globally unique. Used for error messages if someone initializes Rpc_parallel multiple times with different backends.

module Settings : sig ... end
val serve : ?max_message_size:int -> ?handshake_timeout:Core.Time.Span.t -> ?heartbeat_config:Async.Rpc.Connection.Heartbeat_config.t -> implementations:'a Async.Rpc.Implementations.t -> initial_connection_state: (Async.Socket.Address.Inet.t -> Async.Rpc.Connection.t -> 'a) -> where_to_listen:Async.Tcp.Where_to_listen.inet -> Settings.t -> (Async.Socket.Address.Inet.t, int) Async.Tcp.Server.t Async.Deferred.t