sihl.http
Http.Route
sihl
sihl.app
sihl.authn
sihl.authz
sihl.cmd
sihl.configuration
sihl.core
sihl.data
sihl.email
sihl.log
sihl.message
sihl.middleware
sihl.queue
sihl.schedule
sihl.seed
sihl.server
sihl.session
sihl.storage
sihl.token
sihl.user
sihl.utils
sihl.web
type t
type meth =
| Get
| Post
| Put
| Delete
| All
val pp : Format.formatter -> t -> unit
val show : t -> string
val equal : t -> t -> bool
type handler = Core.Ctx.t -> Res.t Lwt.t
val handler : t -> handler
val meth : t -> meth
val path : t -> string
val set_handler : handler -> t -> t
val get : string -> handler -> t
val post : string -> handler -> t
val put : string -> handler -> t
val delete : string -> handler -> t
val all : string -> handler -> t
val prefix : string -> t -> t