Networking Tools: Thread-hot Internet Classes (int library)
#include <rw/toolpro/httpver.h>
thr, net, int, tls (and possibly std)
RWIHttpVersion is an abstract base class that defines the interface for HTTP versions. All member functions in RWIHttpVersion are pure virtual, and therefore must be overridden by specific HTTP version classes. The version classes are used by RWIHttpClient to filter request information based on versions.
RWIHttpVersion();
The default constructor for RWIHttpVersion.
virtual RWBoolean canPersist()const = 0;
Returns TRUE if a version can persist connections over multiple requests.
virtual RWIHttpVersion* clone() const = 0;
Returns a copy of self.
virtual int majorVersionNumber() const = 0;
Returns the major portion of the version number; for example, this would be 1 for version 1.0.
virtual RWCString makeMethodAsString(RWIHttpMethod* pMethod) const = 0;
Returns a valid request string for the version.
virtual RWBoolean methodIsValid(RWCString methodName) const = 0;
Returns TRUE if the passed-in methodName is supported by this version.
virtual int minorVersionNumber() const = 0;
Returns the minor portion of the version number. For example, "0" is returned for version 1.0.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.