Skip to content

Instance Method

first(name:)

Returns the first header value with the supplied name.
func first(name: HTTPHeaders.Name) -> String?

Parameters

name

The header field name whose values are to be retrieved.