vapor-docs/3.0/docs/routing/route.md

335 B

Route

Route is an object that contains the essential information of an HTTP Route.

It contains the route's Method, path components and responder.

Extensions

Route is Extendable, meaning you can extend it's properties.

The purpose is to allow documentation tools to hook into the Vapor routing process.