HttpHeaders.h
HttpHeaderFieldName findOrCreate(const String &name)
Find the enumerated value for the given field name string, create a custom entry if not found.
Definition: HttpHeaderFields.h:138
bool append(const HttpHeaderFieldName &name, const String &value)
Append value to multi-value field.
String toString(HttpHeaderFieldName name) const
const String & operator[](const String &name) const
Fetch a reference to the header field value by name.
void setMultiple(const HttpHeaders &headers)
Definition: HttpHeaderFields.h:98
const HttpHeaderFieldName & keyAt(unsigned int idx) const
Definition: WHashMap.h:224
HttpHeaderFieldName fromString(const String &name) const
Find the enumerated value for the given field name string.
HttpHeaders & operator=(const HttpHeaders &headers)
Definition: HttpHeaders.h:117
HttpHeaders()=default
const String & valueAt(unsigned int idx) const
Definition: WHashMap.h:249
bool contains(const String &name) const
Determine if given header field is present.
Definition: HttpHeaders.h:95
bool fromHttpDate(const String &httpDate)
Parse a HTTP full date and set time and date.