Vapor Documentation Beta

Structure HTTPMedia​Type​Preference

public struct HTTPMediaTypePreference

Represents a MediaType and its associated preference, q.

Properties

media​Type

var mediaType: HTTPMediaType

The MediaType in question.

q

var q: Double?

Its associated preference.