Instance Method
serialize()
Converts this
MediaType into its string representation.func serialize() -> String
Discussion
For example, the following media type:
type:
"application"subtype:
"json"
Would be converted to "application/json; charset=utf8".