|
fastcgi++
A C++ FastCGI/Web API
|
The body for FastCGI records with a RecordType of BEGIN_REQUEST. More...
#include <fastcgi++/protocol.hpp>
Public Member Functions | |
| bool | kill () const |
| Get keep alive value from the record body. More... | |
Public Attributes | |
| BigEndian< Role > | role |
| Role. More... | |
| uint8_t | flags |
| Flag value. More... | |
| uint8_t | reserved [5] |
| Reserved for future use and body padding. More... | |
Static Public Attributes | |
| static const int | keepConnBit = 1 |
| Flag bit representing the keep alive value. More... | |
The body for FastCGI records with a RecordType of BEGIN_REQUEST.
This structure defines the body used in FastCGI BEGIN_REQUEST records. It can be casted from raw 8 byte blocks of data and received as is. A BEGIN_REQUEST record is received when the other side wished to make a new request.
Definition at line 323 of file protocol.hpp.
|
inline |
Get keep alive value from the record body.
If this value is false, the socket should be closed on our side when the request is complete. If true, the other side will close the socket when done and potentially reuse the socket and multiplex other requests on it.
Definition at line 338 of file protocol.hpp.
References flags, and keepConnBit.
Referenced by Fastcgipp::Manager_base::push().
| uint8_t Fastcgipp::Protocol::BeginRequest::flags |
|
static |
Flag bit representing the keep alive value.
Definition at line 326 of file protocol.hpp.
Referenced by kill().
| uint8_t Fastcgipp::Protocol::BeginRequest::reserved[5] |
Reserved for future use and body padding.
Definition at line 350 of file protocol.hpp.
1.8.14