cgicc: cgicc::HTTPContentHeader Class Reference

# cgicc::HTTPContentHeader Class Reference

HTTP header for data of a specified MIME type. More...

`#include <cgicc/HTTPContentHeader.h>`

Inheritance diagram for cgicc::HTTPContentHeader:

List of all members.

## Public Member Functions
Constructor and Destructor
| HTTPContentHeader (const std::string &mimeType)
| Create a new MIME type header.
virtual | ~HTTPContentHeader ()
| Destructor.
Inherited Methods
virtual void | render (std::ostream &out) const
| Write this HTTPHeader to a stream.

## Detailed Description

HTTP header for data of a specified MIME type.

Definition at line 49 of file HTTPContentHeader.h.

## Constructor & Destructor Documentation

cgicc::HTTPContentHeader::HTTPContentHeader | ( | const std::string & | mimeType | ) |

Create a new MIME type header.

Parameters:

  | mimeType | The MIME type of the data which will be sent.

## Member Function Documentation

virtual void cgicc::HTTPContentHeader::render | ( | std::ostream & | out | ) | const`[virtual]`

Write this HTTPHeader to a stream.

Subclasses must implement this function.

Parameters:

  | out | The ostream to which to write.

Implements cgicc::HTTPHeader.

The documentation for this class was generated from the following file:

- HTTPContentHeader.h