HttpUnitTestResult.hasHeader

Checks whether a header is present or not.

class HttpUnitTestResult
final
bool
hasHeader
(
string name
)

Parameters

name string

The name of the header.

Return Value

Type: bool

True if the header is present, false otherwise.

Meta