Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWIHttpMethod



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/httpmeth.h>

Required Libraries

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

Description

RWIHttpMethod is an abstract base class used to define HTTP request methods. These methods are defined by the HTTP specifications. For HTTP 1.0, the GET, POST, and HEAD commands are supported. For HTTP 0.9, only the GET command is supported. The RWIHttpMethod class accommodates adding header information to a request and provides methods that allow a full request to be constructed.

Public Constructors

RWIHttpMethod(const RWCString& uri);

Public Member Functions

void
addHeader(const RWIHttpHeaderBase& hdr); 
void
addHeader(const RWCString& label, const RWCString& value);
virtual RWCString
bodyString() const;
virtual RWCString
headerString() const;
virtual RWCString
name() const = 0; 
virtual RWCString
requestString() const; 


Previous fileTop of DocumentContentsIndexNext file

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