Wt  3.3.9
Public Member Functions | List of all members
Wt::Http::Message::Header Class Reference

An HTTP message header. More...

Public Member Functions

 Header ()
 Default constructor.
 
 Header (const std::string &name, const std::string &value)
 Constructs a header with a given name and value.
 
 Header (const Header &other)
 Copy constructor.
 
void setName (const std::string &name)
 Sets the header name.
 
const std::string & name () const
 Returns the header name. More...
 
void setValue (const std::string &value)
 Sets the header value.
 
const std::string & value () const
 Returns the header value. More...
 

Detailed Description

An HTTP message header.

An HTTP message header is a name/value pair, as defined by RFC 822.

Member Function Documentation

const std::string& Wt::Http::Message::Header::name ( ) const

Returns the header name.

See also
setName()
const std::string& Wt::Http::Message::Header::value ( ) const

Returns the header value.

See also
setValue()

Generated on Tue Nov 21 2017 for the C++ Web Toolkit (Wt) by doxygen 1.8.11