Struct fastcgi_sdk::Exchange
[−]
[src]
pub struct Exchange { /* fields omitted */ }An HTTP exchange.
Methods
impl Exchange[src]
pub unsafe fn new(request: *mut FCGX_Request) -> Self[src]
Create an exchange from a FastCGI request. The exchange will take
ownership of the request, and free it with free.
pub fn accept<L>(listener: &L) -> Result<Self> where
L: AsRawFd, [src]
L: AsRawFd,
Accept a request from a listener.
ⓘImportant traits for Environment<'a>pub fn environment(&self) -> Environment[src]
ⓘImportant traits for Environment<'a>
Return the FastCGI environment.
ⓘImportant traits for RequestBody<'a>pub fn request_body(&self) -> RequestBody[src]
ⓘImportant traits for RequestBody<'a>
Return the request body for this exchange.
ⓘImportant traits for Response<'a>pub fn response(&self) -> Response[src]
ⓘImportant traits for Response<'a>
Return the response for this exchange.
Trait Implementations
impl Debug for Exchange[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more