Helper class that defines a generic HTTP header.
More...
#include <rw/http/RWHttpGenericHeader.h>
RWHttpGenericHeader is a specialization class of RWHttpHeaderBase. It is a helper class that formats its contents as header_label:
header_value
.
◆ RWHttpGenericHeader() [1/4]
RWHttpGenericHeader::RWHttpGenericHeader |
( |
void | | ) |
|
|
inline |
◆ RWHttpGenericHeader() [2/4]
◆ RWHttpGenericHeader() [3/4]
Constructs an RWHttpGenericHeader object with the label equal to label and the value equal to value. The RWCString should contain 7-bit US-ASCII data.
◆ RWHttpGenericHeader() [4/4]
◆ getValue()
RWCString RWHttpGenericHeader::getValue |
( |
void | | ) |
const |
|
inlinevirtual |
Returns a copy of the internal value associated with the label. The RWCString should contain 7-bit US-ASCII data.
Implements RWHttpHeaderBase.
◆ setValue()
void RWHttpGenericHeader::setValue |
( |
const RWCString & | value | ) |
|
|
inline |
Assigns value to the internal value. The RWCString should contain 7-bit US-ASCII data.