HttpHeaders.h
Go to the documentation of this file.
HttpHeaderFieldName fromString(const String &name) const
Find the enumerated value for the given field name string.
const HttpHeaderFieldName & keyAt(unsigned int idx) const
Definition: WHashMap.h:185
String operator[](unsigned index) const
Return the HTTP header line for the value at the given index.
Definition: HttpHeaders.h:68
String & operator[](const String &name)
Fetch a reference to the header field value by name.
Definition: HttpHeaders.h:58
bool append(const HttpHeaderFieldName &name, const String &value)
Append value to multi-value field.
const String & valueAt(unsigned int idx) const
Definition: WHashMap.h:210
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:137
Definition: HttpHeaderFields.h:97
const String & operator[](const String &name) const
Fetch a reference to the header field value by name.
void setMultiple(const HttpHeaders &headers)
HttpHeaders & operator=(const HttpHeaders &headers)
Definition: HttpHeaders.h:97
HttpHeaders()=default
bool fromHttpDate(const String &httpDate)
Parse a HTTP full date and set time and date.
String toString(HttpHeaderFieldName name) const