Module: Internet Protocols Module Package: HTTP
RWHttpFromHeader RWHttpGenericHeaderRWHttpHeaderBase
#include <rw/http/RWHttpFromHeader.h>
RWHttpFromHeader is a specialization class of RWHttpGenericHeader. It defines the HTTP FROM HEADER request. It is a helper class that formats its contents as From: header_value, where header_value is a valid e-mail address. The validity of header_value is not checked.
RWHttpFromHeader();
Constructs a default RWHttpFromHeader object with the label equal to From and the value equal to the empty string.
RWHttpFromHeader(const RWCString& value);
Constructs an RWHttpFromHeader object with the label equal to From and the value equal to value. The RWCString should contain 7-bit US-ASCII data.
RWHttpFromHeader(const RWHttpGenericHeader& hdr);
Constructs an RWHttpFromHeader object from an RWHttpGenericHeader that represents a From HTTP header. If the RWHttpGenericHeader does not represent a From HTTP header or if the value of the RWHttpGenericHeader does not conform to the formatting of a From value, an RWHttpHeaderParseError exception is thrown.
© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.