Static Propertyvapor 4.114.1Vapor->NIOHTTP1
disable
Explicitely disable response compression.
static let disable: HTTPHeaders.ResponseCompression
Explicitely disable response compression.
static let disable: HTTPHeaders.ResponseCompression
s8NIOHTTP111HTTPHeadersV5VaporE19ResponseCompressionV7disableAFvpZ
What are these?6EISP
import NIOHTTP1
import Vapor
Vapor is a framework for building server applications, APIs and websites in Swift. It provides a safe, performant and scalable foundation for building large complex backends.
struct ResponseCompression
A marker header internal to vapor that explicitely allows or disallows response compression.
struct HTTPHeaders
A representation of a block of HTTP header fields.
static let enable: HTTPHeaders.ResponseCompression
Explicitely enable response compression.
static let unset: HTTPHeaders.ResponseCompression
Implicitely use the server’s default response compression determination.
static let useDefault: HTTPHeaders.ResponseCompression
Explicitely use the server’s default response compression determination.