Routable

public protocol Routable: AnyDestination

It ensures that route can be accessed via matchable type, e.g. string or URL

  • Array of pattern strings.

    Declaration

    Swift

    static var patterns: [String]
  • register() Extension method

    Registers route.

    Declaration

    Swift

    static public func register()