Initializer
init(override:force:)
Initialize a response compression middleware with an override.
init(override: HTTPHeaders.ResponseCompression, force shouldForce: Bool = false)
Parameters
overrideThe compression preference to apply if none is already set.
shouldForceWether to force the compression preference over what the response prefers.
Discussion
See Also
Please see responseCompressionOverride for more details.