[−][src]Module async_fcgi::fastcgi
Contains constants and models for fcgi data records.
use bytes::Bytes;
use async_fcgi::fastcgi::*;
let mut b = BufList::new();
BeginRequestBody::new(BeginRequestBody::RESPONDER,0,1).append(&mut b);
let mut nv = NVBody::new();
nv.add(NameValuePair::new(Bytes::from(&b"SCRIPT_FILENAME"[..]),Bytes::from(&b"/home/daniel/Public/test.php"[..]))).expect("record full");
nv.to_record(Record::PARAMS, 1).append(&mut b);
NVBody::new().to_record(Record::PARAMS, 1).append(&mut b);Structs
| BeginRequestBody | |
| EndRequestBody | |
| NVBody | Body type for Params and GetValues. Holds multiple NameValuePair's |
| NVBodyList | Helper type to generate one or more NVBody Records, depending on the space needed |
| NameValuePair | |
| Record | FCGI record |
| STDINBody | |
| UnknownTypeBody |
Enums
| Body |
Constants
| LISTENSOCK_FILENO | Listening socket file number |
| MAX_CONNS | Names for GET_VALUES / GET_VALUES_RESULT records. |
| MAX_REQS | Names for GET_VALUES / GET_VALUES_RESULT records. |
| MPXS_CONNS | Names for GET_VALUES / GET_VALUES_RESULT records. |