Headers.opBinaryRight

Gets the pointer to a header. The key is case insensitive.

struct Headers
pure @safe
string*
opBinaryRight
(
string op : "in"
)
(
string key
)

Examples

headers["Connection"] = "keep-alive";
assert(("connection" in headers) is ("Connection" in headers));

Meta