Functor Restful.Make

module Make: 
functor (Service : SERVICE) ->
functor (Error : ERROR) -> sig .. end

Functor to realize a running service, supporting the run-time choice of serveral modes.

Parameters:
Service : SERVICE
Error : ERROR

val main : ?argv:string array -> unit -> unit

main ?argv (): run the service function Service.main.

argv : The argument vector to parse for command-line options (default: Sys.argv)