Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
val get : 'a -> 'b -> Sihl_contract.Http.meth * 'a * 'b
val post : 'a -> 'b -> Sihl_contract.Http.meth * 'a * 'b
val put : 'a -> 'b -> Sihl_contract.Http.meth * 'a * 'b
val delete : 'a -> 'b -> Sihl_contract.Http.meth * 'a * 'b
val any : 'a -> 'b -> Sihl_contract.Http.meth * 'a * 'b
val router :
?scope:string ->
?middlewares:Rock.Middleware.t list ->
Sihl_contract.Http.t list ->
Sihl_contract.Http.router
val apply_middleware_stack :
Rock.Middleware.t list ->
('a * 'b * Rock.Handler.t) ->
'a * 'b * Rock.Handler.t
val router_to_routes :
Sihl_contract.Http.router ->
(Sihl_contract.Http.meth * string * Rock.Handler.t) list
val to_opium_builder :
(Sihl_contract.Http.meth * string * Rock.Handler.t) ->
Opium.App.builder
val routers_to_opium_builders :
Sihl_contract.Http.router list ->
Opium.App.builder list
val config : int option -> config
val registered_routers : Sihl_contract.Http.router list Stdlib.ref
val start_cmd : Sihl_core.Command.t
val lifecycle : Sihl_core.Container.Lifecycle.t
val register :
?routers:Sihl_contract.Http.router list ->
unit ->
Sihl_core.Container.Service.t