File: Client.pm

package info (click to toggle)
libfcgi-client-perl 0.09-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 232 kB
  • sloc: ruby: 510; perl: 408; makefile: 2
file content (59 lines) | stat: -rw-r--r-- 1,043 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
package FCGI::Client;
use warnings;
use strict;
use 5.008001;

our $VERSION = '0.09';

use Carp;

use FCGI::Client::Connection;
use FCGI::Client::Record;
use FCGI::Client::RecordFactory;

1;
__END__

=head1 NAME

FCGI::Client - client library for fastcgi protocol

=head1 SYNOPSIS

    use FCGI::Client;

    my $sock = IO::Socket::INET->new(
        PeerAddr => '127.0.0.1',
        PeerPort => $port,
    ) or die $!;
    my $client = FCGI::Client::Connection->new( sock => $sock );
    my ( $stdout, $stderr ) = $client->request(
        +{
            REQUEST_METHOD => 'GET',
            QUERY_STRING   => 'foo=bar',
        },
        ''
    );

=head1 DESCRIPTION

FCGI::Client is client library for fastcgi protocol.

=head1 AUTHOR

Tokuhiro Matsuno E<lt>tokuhirom @*(#RJKLFHFSDLJF gmail.comE<gt>

=head1 THANKS TO

peterkeen

=head1 SEE ALSO

L<FCGI>, L<http://www.fastcgi.com/drupal/node/6?q=node/22>

=head1 LICENSE

This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut