Skip to content

Instance Method

contains(name:)

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

Parameters

name

The header field name to check.