Skip to main content

Module record

Module record 

Available on crate feature fastcgi only.
Expand description

FastCGI record header and fixed-length record bodies.

Every FastCGI message is framed as one or more records. All records share a common 8-byte header described in RecordHeader.

Structs§

BeginRequestBody
Body of a FCGI_BEGIN_REQUEST record (8 bytes).
EndRequestBody
Body of a FCGI_END_REQUEST record (8 bytes).
RecordHeader
The 8-byte header that precedes every FastCGI record.
UnknownTypeBody
Body of a FCGI_UNKNOWN_TYPE management record (8 bytes).

Constants§

FCGI_KEEP_CONN
Flag bit: keep the transport connection open after the request ends.
FCGI_MAX_CONTENT_LEN
Maximum content length of a single FastCGI record (2 bytes unsigned).
FCGI_NULL_REQUEST_ID
Request ID used for management records (GET_VALUES, GET_VALUES_RESULT, UNKNOWN_TYPE).
FCGI_VERSION_1
Protocol version as defined by the FastCGI specification.