package reddit_api_async

  1. Overview
  2. Docs

Any connection can be turned into an RPC server, acting as a shared connection for multiple client Connection.ts. 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
OCaml

Innovation. Community. Security.