Module proto
Available on crate feature
fastcgi only.Expand description
Implementation of the FastCGI Protocol.
Reference: FastCGI spec 1.0
(embedded in repo crate dir at specifications/fastcgi_spec.txt)
Modules§
- cgi
- CGI parameter name constants used in FastCGI
FCGI_PARAMSandFCGI_GET_VALUESrecords. - params
- FastCGI name-value pair encoding used in PARAMS and GET_VALUES records.
- record
- FastCGI record header and fixed-length record bodies.
Structs§
- Begin
Request Body - Body of a
FCGI_BEGIN_REQUESTrecord (8 bytes). - EndRequest
Body - Body of a
FCGI_END_REQUESTrecord (8 bytes). - Record
Header - The 8-byte header that precedes every FastCGI record.
- Unknown
Type Body - Body of a
FCGI_UNKNOWN_TYPEmanagement record (8 bytes).
Enums§
- Protocol
Error - Protocol
Status - Protocol-level status of a completed request, carried in
EndRequestBody. - Record
Type - Type of a FastCGI record.
- Role
- Role of the FastCGI application in a request.
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.