Structure
FileMiddleware.DirectoryAction
Possible actions to take when the request doesn’t have a trailing slash but matches a directory
struct DirectoryAction
Topics
Type Properties
static var none: DirectoryActionIndicates that the request should be passed through the middlewarestatic var redirect: DirectoryActionIndicates that a redirect to the same url with a trailing slash should be returned.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype