RWIHttpDateHeaderRWIHttpHeaderBase
Networking Tools: Thread-hot Internet Classes (int library)
#include <rw/toolpro/httphdr.h> RWIHttpDateHeader dateHdr;
thr, net, int, tls (and possibly std)
RWIHttpDateHeader is a specialization class of RWIHttpHeaderBase. It defines the HTTP Date header request. It is a helper class that formats its contents as Date: header_value, where header_value is information on date and time.
RWIHttpDateHeader();
Constructs a default RWIHttpDateHeader object with the associated value of the Date label as the current date and time.
RWIHttpDateHeader(const RWCString& label);
Constructs an RWIHttpDateHeader object with the label of the header as label and its associated value as the current date and time. The label is a specific type of the Date header, such as the If Modified Since header.
RWIHttpDateHeader(const RWIHttpDate& d);
Constructs an RWIHttpDateHeader object with the associated value of the Date label as the input d.
RWIHttpDateHeader(const RWCString& label, const RWIHttpDate& d);
Constructs an RWIHttpDateHeader object with the label of the header as label and its associated value as the input d. The label is a specific type of the Date header, such as the If Modified Since header.
RWIHttpDate date() const;
Returns the internal value of the header.
void setDate(const RWIHttpDate& d);
Assigns d to the internal value.
RWCString value() const;
Returns the internal value that is associated with the label of the header in an RWCString format.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.