Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A Remote Procedure Call server which will listen on an address, accept incoming connections and answer them
type request = Cstruct.t
A complete request
type response = Cstruct.t
A complete response
type address = Config.Address.t
The address of the server
Bind to the given address. This will fail if the address does not exist or if another server is already bound there.
Listen and accept incoming connections, use the provided callback to answer requests.
val shutdown : server -> unit Lwt.t
Shutdown the server and free any allocated resources.