http_headers::find Method
Checks if a header field exists with given name and returns an iterator if found. Otherwise and iterator to end is returned.
iterator find(
const key_type &name
);
const_iterator find(
const key_type &name
) const;
Parameters
- name
The name of the header field.
Return Value
An iterator to where the HTTP header is found.
Requirements
Header: http_msg.h
Namespace: web::http