Networking Tools: Thread-hot Internet Classes (int library)
#include <rw/toolpro/httphdr.h>
thr, net, int, tls (and possibly std)
RWIHttpHeaderBase is an abstract base class for all concrete RWIHttpHeader classes. These classes are helpers that ease header attachment and formatting to various HTTP requests.
RWIHttpHeaderBase();
Constructs a default RWIHttpHeaderBase as part of a specific HTTP header object. The label of the header is set to empty.
RWIHttpHeaderBase(const RWCString& label);
Constructs an RWIHttpHeaderBase as part of a specific HTTP header object. The label of the header is set to label.
RWBoolean operator==(const RWIHttpHeaderBase& h) const;
Returns TRUE if h is equal to self.
virtual RWCString asString() const;
Concatenates the label and the value of the header into the format label: value and returns the result as an RWCString.
RWCString label() const;
Returns the internal label of the header.
virtual RWCString value() const = 0;
Returns the value associated with the label of the header. This is a pure virtual function, and therefore must be overridden by a derived class.
unsigned hash(const RWIHttpHeaderBase& h);
Returns the hash value of RWIHttpHeaderBase.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.