Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWIHttpContentLengthHeader


RWIHttpContentLengthHeaderRWIHttpHeaderBase

Module

Networking Tools: Thread-hot Internet Classes (int library)

Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Member Functions

Synopsis

#include <rw/toolpro/httphdr.h>
RWCString body; // some body info
RWIHttpContentLengthHeader contentLengthHdr(body.length());

Required Libraries

thr, net, int, tls (and possibly std)

Description

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.

Public Constructors

RWIHttpContentLengthHeader();
RWIHttpContentLengthHeader(int value);

Public Member Functions

void
setValue(int value);
RWCString
value() const; 


Previous fileTop of DocumentContentsIndexNext file

©Copyright 2000, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.