RWIHttpContentLengthHeaderRWIHttpHeaderBase
Networking Tools: Thread-hot Internet Classes (int library)
#include <rw/toolpro/httphdr.h> RWCString body; // some body info RWIHttpContentLengthHeader contentLengthHdr(body.length());
thr, net, int, tls (and possibly std)
RWIHttpContentLengthHeader is a specialization class of RWIHttpHeaderBase. It is a helper class that formats its contents as Content-Length: header_value, where header_value is the length in bytes of an HTTP command's body information.
RWIHttpContentLengthHeader();
Constructs a default RWIHttpContentLengthHeader object with the label Content-Length and a value of 0.
RWIHttpContentLengthHeader(int value);
Constructs an RWIHttpContentLengthHeader object with the label Content-Length and a value of value.
void setValue(int value);
Assigns value to the internal value.
RWCString value() const;
Returns the internal value as an RWCString.
©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.