Structure
HTTPMediaTypeSet
A collection for efficiently determining if a set of types contains another type.
struct HTTPMediaTypeSet
Topics
Initializers
Instance Methods
func contains(HTTPMediaType) -> BoolCheck to see if a media type is contained within the set.
Type Properties
static let all: HTTPMediaTypeSetThe super set of allHTTPMediaTypes.static let compressible: HTTPMediaTypeSetA list of known compressible MIME types.static let incompressible: HTTPMediaTypeSetA list of known incompressible MIME types.static let none: HTTPMediaTypeSetThe empty set ofHTTPMediaTypes.
Default Implementations
Relationships
Conforms To
Swift.CopyableSwift.EscapableSwift.ExpressibleByArrayLiteralSwift.SendableSwift.SendableMetatype