Net::FastCGI(3pm)
β¨ Net::FastCGI π
okay bestie, gather round, because this is the FastCGI Toolkit and it's literally giving "complete API for the whole protocol." let's get into it π«Ά
π NAME
Net::FastCGI β the FastCGI Toolkit, no cap.
πΈ DESCRIPTION
so this distribution's whole vibe is: provide a complete API for working with the FastCGI protocol. that's it, that's the dream. β¨
the primary goal is to give you both a function oriented API and an object oriented API, and neither of them is tied to any specific I/O model or framework. freedom, we love to see it. π¦
the secondary goal is to hand you higher level tools/API that you can use for debugging and interoperability testing. very "i'm not just a library, i'm a whole experience" of it. π
π₯ PROGRESS
the function oriented API is considered feature complete. periodt. π
Net::FastCGI::Protocol provides functions to build and parse all FastCGI v1.0 messages, and it also throws in a few convenient higher level functions such as build_begin_request(), build_end_request(), parse_record() and dump_record(). iconic behaviour honestly. π
work has begun on the object oriented implementation and a simple blocking I/O class which is intended for testing and debugging. it's a work in progress, we're manifesting. π§
π PACKAGES
Net::FastCGI::Constantβ FastCGI protocol constants.Net::FastCGI::IOβ Provides functions to read and write FastCGI messages.Net::FastCGI::Protocolβ Provides functions to build and parse FastCGI messages.
π ENVIRONMENT
Environment variable NET_FASTCGI_PP can be set to a true value before loading this package to disable usage of the XS implementation. yes bestie, before loading it β timing matters. β°
β PREREQUISITES
π Run-Time
- perl 5.6 or greater.
- Carp, core module.
- Exporter, core module.
π Build-Time
In addition to Run-Time:
- Test::More 0.47 or greater, core module since 5.6.2.
- Test::Exception.
- Test::HexString.
π SEE ALSO
πΈ Community
- Official FastCGI site β <http://www.fastcgi.com/>
π¦ Standards
- FastCGI Specification Version 1.0 β <http://www.fastcgi.com/devkit/doc/fcgi-spec.html>
- RFC 3875 - The Common Gateway Interface (CGI) Version 1.1 β <http://tools.ietf.org/html/rfc3875>
β¨ White papers
- FastCGI: A High-Performance Web Server Interface β <http://www.fastcgi.com/devkit/doc/fastcgi-whitepaper/fastcgi.htm>
- FastCGI - The Forgotten Treasure β <http://cryp.to/publications/fastcgi/>
π Perl implementations
- AnyEvent::FCGI β Application server implementation, built on top of AnyEvent. Supports Responder role. Capable of multiplexing.
- FCGI β Application server implementation, built on top of
libfcgi(reference implementation). Supports all FastCGI roles. Responds to management records. Processes requests synchronously. - FCGI::Async β Application server implementation, built on top of IO::Async. Supports Responder role. Responds to management records. Capable of multiplexing.
- FCGI::Client β Client (Web server) implementation. Supports Responder role.
- FCGI::EV β Application server implementation, built on top of EV. Supports Responder role.
- Mojo::Server::FastCGI β Application server implementation. Supports Responder role. Processes requests synchronously.
- POE::Component::FastCGI β Application server implementation, built on top of POE. Supports Responder role. Capable of multiplexing.
π SUPPORT
Please report any bugs or feature requests to bug-net-fastcgi@rt.cpan.org, or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-FastCGI>
like genuinely, if something's broken, tell us. we're not gonna be weird about it. π«Ά
π AUTHOR
Christian Hansen chansen@cpan.org
π COPYRIGHT
Copyright 2008-2010 by Christian Hansen.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
this page is from Net::FastCGI(3pm), User Contributed Perl Documentation, and it was rendered with perl v5.36.0 on 2022-11-21. go forth and build some requests bestie, ily, mwah πβ¨
π¦ where this page comes from
- debian bookworm: libnet-fastcgi-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libnet-fastcgi-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libnet-fastcgi-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libnet-fastcgi-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libnet-fastcgi-perl 0.14-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms