Static Propertyvapor 4.106.3Vapor
all
The super set of all HTTPMediaType
s.
static let all: HTTPMediaTypeSet
Other members in extension
Type members
init(arrayLiteral: HTTPMediaType...
) init(mediaTypes: some Sequence<HTTPMediaType>
) static let compressible: HTTPMediaTypeSet
A list of known compressible MIME types.
static let incompressible: HTTPMediaTypeSet
A list of known incompressible MIME types.
static let none: HTTPMediaTypeSet
The empty set of
HTTPMediaType
s.
Instance members
func contains(HTTPMediaType
) -> Bool Check to see if a media type is contained within the set.