header_equals


Description:

[ Version ( since = "2.50" ) ]
public bool header_equals (string name, string value)

Checks whether the header name is present in this and is (case-insensitively) equal to value.

Parameters:

this

a MessageHeaders

name

header name

value

expected value

Returns:

true if the header is present and its value is value, false otherwise.