Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Any connection can be turned into an RPC server, acting as a shared connection for multiple client Connection.t
s. Rate limiting is managed on the server side.
Important. This feature is highly experimental. The protocol may change without warning.
val serve :
t ->
where_to_listen:
([< Async.Socket.Address.t ] as 'a, 'b) Async.Tcp.Where_to_listen.t ->
('a, 'b) Async.Tcp.Server.t Async.Deferred.t
val connect_exn :
[< Async.Socket.Address.t ] Async.Tcp.Where_to_connect.t ->
t Async.Deferred.t