Skip to main content

Module server

Module server 

Available on crate feature fastcgi only.
Expand description

FastCGI server implementation for Rama.

FastCgiServer accepts incoming IO streams and handles the FastCGI framing. It dispatches each request to an inner Service and writes the response back over the same connection.

The inner service receives a FastCgiRequest and must return a FastCgiResponse.

Structs§

Error
Error returned by the FastCgiServer when handling a connection.
FastCgiRequest
A complete FastCGI request received from a web server.
FastCgiResponse
A FastCGI response to be sent back to the web server.
FastCgiServer
FastCGI server that accepts connections and dispatches requests to an inner service.
ServerOptions
Configuration for FastCgiServer.