Classes

The following classes are available globally.

  • Helps to create Routes with path and name prefixes and can assign an array of Middleware to apply before Routes’ handler is called.

    See more

    Declaration

    Swift

    public final class RouteCollection
    extension RouteCollection: Collection
  • Resolves Route‘s in RouteCollection and generates URLs for them.

    See more

    Declaration

    Swift

    public final class Router