Struct async_scgi::ScgiRequest [−][src]
pub struct ScgiRequest {
pub headers: ScgiHeaders,
pub body: Vec<u8>,
}Expand description
An SCGI request.
The SCGI and CONTENT_LENGTH length headers are added automatically when
ScgiRequest::encode is called and removed when requests are read.
Fields
headers: ScgiHeadersThe request header name, value pairs.
body: Vec<u8>The request body.
Implementations
Create an ScgiRequest with a set of headers.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.