HttpHeaderFields Class Reference
#include <HttpHeaderFields.h>
Inheritance diagram for HttpHeaderFields:
Public Member Functions | |
| String | toString (HttpHeaderFieldName name) const |
| String | toString (HttpHeaderFieldName name, const String &value) const |
| HttpHeaderFieldName | fromString (const String &name) const |
| Find the enumerated value for the given field name string. More... | |
| HttpHeaderFieldName | findOrCreate (const String &name) |
| Find the enumerated value for the given field name string, create a custom entry if not found. More... | |
| void | clear () |
Static Public Member Functions | |
| static String | toString (const String &name, const String &value) |
| Produce a string for output in the HTTP header, with line ending. More... | |
Member Function Documentation
◆ clear()
|
inline |
◆ findOrCreate()
|
inline |
Find the enumerated value for the given field name string, create a custom entry if not found.
- Parameters
-
name
- Return values
-
HttpHeaderFieldName field name code
- Note
- comparison is not case-sensitive
◆ fromString()
| HttpHeaderFieldName HttpHeaderFields::fromString | ( | const String & | name | ) | const |
Find the enumerated value for the given field name string.
- Parameters
-
name
- Return values
-
HttpHeaderFieldName field name code, HTTP_HEADER_UNKNOWN if not recognised
- Note
- comparison is not case-sensitive
◆ toString() [1/3]
| String HttpHeaderFields::toString | ( | HttpHeaderFieldName | name | ) | const |
◆ toString() [2/3]
Produce a string for output in the HTTP header, with line ending.
- Parameters
-
name value
- Return values
-
String
◆ toString() [3/3]
|
inline |
The documentation for this class was generated from the following file:
1.8.13