Expand description
Pure Rust implementation of FastCGI 1.0.
Example usage:
extern crate fastcgi;
use std::io::Write;
fn main() {
fastcgi::run(|mut req| {
write!(&mut req.stdout(), "Content-Type: text/plain\n\nHello, world!")
.unwrap_or(());
});
}
Structs§
- Request
- Request objects are what a FastCGI application will primarily deal with throughout its lifetime.
- Stderr
- Stdin
- Stdout
Enums§
Functions§
- run
- Runs as a FastCGI process with the given handler.
- run_raw
- Accepts requests from a user-supplied raw file descriptor. IPv4, IPv6, and Unix domain sockets are supported.
- run_tcp
- Accepts requests from a user-supplied TCP listener.