Type Property
collect
The HTTP request’s body will be collected into memory up to a maximum size before the route handler is called. The application’s configured default max body size will be used unless otherwise specified.
static var collect: HTTPBodyStreamStrategy { get }
Discussion
See collect(maxSize:) to specify a custom max collection size.