contains(name:)

Returns true if the HTTPHeaders contains a value for the supplied name.

HTTPHeaders+Name.swift:485
func contains(name: Name) -> Bool

Parameters

name

The header field name to check.