RequestHeaderValue
public protocol RequestHeaderValue
A type that can be used as a value for an HTTP header.
The RequestHeaderValue protocol defines a type that can be used as a value for an HTTP header.
It requires conforming types to provide a serializedHeaderValue property that returns a string representation of the header value.
-
The serialized value of the header.
This property represents the serialized value of the header. It is used to convert the header value into a string format suitable for HTTP headers.
Declaration
Swift
var serializedHeaderValue: String? { get }
View on GitHub