Skip to content

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

  • none
    Indicates that the request should be passed through the middleware
  • redirect
    Indicates that a redirect to the same url with a trailing slash should be returned.

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype