Mavryk_rpc_http_server.RPC_serverTyped RPC services: server implementation.
include sig ... endmodule Media_type : sig ... endmodule Directory : sig ... endval init_server :
?cors:Resto_cohttp.Cors.t ->
?agent:string ->
?acl:Resto_acl.Acl.t ->
media_types:Media_type.t list ->
unit Directory.t ->
serverval init_and_launch :
?host:string ->
?cors:Resto_cohttp.Cors.t ->
?agent:string ->
?acl:Resto_acl.Acl.t ->
media_types:Media_type.t list ->
unit Directory.t ->
Conduit_lwt_unix.server ->
unit Lwt.tval set_acl : server -> Resto_acl.Acl.t -> unitval shutdown : server -> unit Lwt.tmodule Max_active_rpc_connections : sig ... endLimits (or not) the number of maximum allowed RPC connections at any given time
val launch :
?host:string ->
server ->
?conn_closed:(Cohttp_lwt_unix.Server.conn -> unit) ->
?callback:callback ->
?max_active_connections:Max_active_rpc_connections.t ->
Conduit_lwt_unix.server ->
unit Lwt.tlaunch ?host server ?conn_closed ?callback
?max_active_connections listening_protocol starts the given resto server initiating the listening loop using the
module Acl : sig ... end