Instance Property
defaultMaxBodySize
The starting value for every request’s
maxBodySize, unless a route or a middleware changes it.var defaultMaxBodySize: ByteCount { get nonmutating set }
Discussion
Applies to every route registered with the default .collect strategy. A route can override it per route with on(..., maxBodySize:), or per request from a middleware.