Crate fastcgi_sdk [−] [src]
A safe Rust binding to the FastCGI SDK. For examples, see the shipped binaries.
The current version uses the C library of the FastCGI SDK. The plan is to rewrite it in Rust completely, removing this dependency and improving the interface.
The binding has near zero overhead compared to the C library. The differences are:
- It does one extra llocation per request, for ABI portability reasons.
- It does unnecessary
strlencalls, because of unfortunate limitations in the standard library
Raw FFI functions and types.
A FastCGI environment. This is an iterator that returns strings in the form
An HTTP message exchange. This is a pair of a request and a response.
The body of the request of an exchange.
A response for an exchange. This includes both the response status line, headers, and body.