Class
FileMiddleware
Serves static files from a public directory.
final class FileMiddleware
Overview
Use app.makeFileMiddleware() to serve the application’s Public directory and share its ETag hash cache.
Topics
Structures
struct BundleSetupErrorstruct CachePolicyThe browser cache policy files should be served with.struct DirectoryActionPossible actions to take when the request doesn’t have a trailing slash but matches a directory
Instance Methods
Relationships
Conforms To
MiddlewareSwift.SendableSwift.SendableMetatype