Merge commit 'github/master'
[catagits/fcgi2.git] / perl / oldinterface.pod
1 =head1 NAME
2
3 FCGI - Fast CGI module
4
5 =head1 SYNOPSIS
6
7     use FCGI;
8
9     $count = 0;
10     while(FCGI::accept() >= 0) {
11         print("Content-type: text/html\r\n\r\n", ++$count);
12     }
13
14 =head1 DESCRIPTION
15
16 Functions:
17
18 =over 4
19
20 =item FCGI::accept()
21
22 Accepts a connection. Returns 0 on success.
23 If a connection has been accepted before, the old
24 one will be finished first.
25
26 =item FCGI::finish()
27
28 Finishes accepted connection.
29
30 =item FCGI::flush()
31
32 Flushes accepted connection.
33
34 =item FCGI::set_exit_status(status)
35
36 Sets the exit status that finish returns to the server.
37
38 =item FCGI::start_filter_data()
39
40 Does anyone use this function ?
41
42 =back
43
44 =head1 AUTHOR
45
46 Sven Verdoolaege <skimo@kotnet.org>
47
48 =cut
49
50 __END__