HeaderList.contains

Checks whether or not a header exists.

class HeaderList
bool
contains
(
string name
)

Parameters

name string

header name

Return Value

Type: bool

true if the specified header exists or false otherwise.