Skip to content

You're viewing documentation for a pre-release version. View the latest stable version

Instance MethodNIOHTTP1

first(name:)

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

Parameters

name

The header field name whose values are to be retrieved.