An implementation of FastCGI using NativeCall
C Perl6 Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext
lib/FastCGI
t
.gitignore
Build.pm
LICENSE
META6.json
README.md

README.md

FastCGI::NativeCall

This is an implementation of FastCGI for Perl 6 using NativeCall

Example

use FastCGI::NativeCall;

my $sock = FastCGI::NativeCall::OpenSocket("/var/www/run/example.sock", 5);
my $fcgi = FastCGI::NativeCall.new($sock);

my $count = 0;

while ($fcgi.Accept() >= 0) {
	$fcgi.Print("Content-Type: text/html\r\n\r\n{++$count}");
}