FastCGI
Description:
public namespace FastCGI
FastCGI server interface library
This library makes it easy to be a server for FastCGI programs so that a web server, like Apache, nginx, or lighthttpd can proxy for this
application.
There are three interfaces: a CGI-esque interface available through stdin and friends, a
single-threaded interface available via accept and a multi-threaded interface available
via request.
Content:
Classes:
- FileStream - FastCGI's abstraction over a file I/O
- Stream - The state of a FastCGI stream.
Structs:
Enums:
Constants:
Methods:
- public int accept (out Stream @in, out Stream @out, out Stream err, out parameters envp)
Accept a new request
- public void finish ()
Finish the current request
- public int init ()
Initialize the FCGX library.
- public bool is_cgi ()
Is this process a CGI process rather than a FastCGI process.
- public int open_socket (string path, int backlog)
Create a FastCGI listen socket.
- public void shutdown_pending ()
Prevent the lib from accepting any new requests.
Fields: