Skip to content

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

Instance MethodNIOHTTP1

contains(name:)

Returns true if the HTTPHeaders contains a value for the supplied name.
func contains(name: Name) -> Bool

Parameters

name

The header field name to check.