MessageHeader::Field Class Reference

#include <Pt/Http/Message.h>

Field of a HTTP header.

Public Member Functions

 Field ()
 Default constructor.
 
 Field (const char *f, const char *s)
 Construct with field name and value.
 
const char * name () const
 Returns the field name.
 
void setName (const char *name)
 Sets the field name.
 
void setValue (const char *value)
 Sets the field name.
 
const char * value () const
 Returns the field value.