fastcgi++
Public Member Functions | Private Attributes
Fastcgipp::Protocol::UnknownType Class Reference

Data structure used as the body for FastCGI records with a RecordType of UNKNOWN_TYPE. More...

#include <protocol.hpp>

List of all members.

Public Member Functions

void setType (RecordType type_)
 Set the record type that is unknown.

Private Attributes

uint8_t type
 Unknown record type.
uint8_t reserved [7]
 Reseved for future use and body padding.

Detailed Description

Data structure used as the body for FastCGI records with a RecordType of UNKNOWN_TYPE.

This structure defines the body used in FastCGI UNKNOWN_TYPE records. It can be casted to raw 8 byte blocks of data and transmitted as is. An UNKNOWN_TYPE record is sent as a reply to record types that are not recognized.

Definition at line 294 of file protocol.hpp.


Member Function Documentation

void Fastcgipp::Protocol::UnknownType::setType ( RecordType  type_)
inline

Set the record type that is unknown.

Parameters:
[in]type_The unknown record type

Definition at line 301 of file protocol.hpp.

References type.


Member Data Documentation

uint8_t Fastcgipp::Protocol::UnknownType::reserved[7]
private

Reseved for future use and body padding.

Definition at line 306 of file protocol.hpp.

uint8_t Fastcgipp::Protocol::UnknownType::type
private

Unknown record type.

Definition at line 304 of file protocol.hpp.

Referenced by setType().


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