Enumeration
HTTPBodyStreamStrategy
Determines how an incoming HTTP request’s body is collected.
enum HTTPBodyStreamStrategy
Topics
Enumeration Cases
HTTPBodyStreamStrategy.collect(maxSize:)The HTTP request’s body will be collected into memory before the route handler is called.HTTPBodyStreamStrategy.streamThe HTTP request’s body will not be collected first before the route handler is called and will arrive in zero or more chunks.
Type Properties
collectThe 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.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype