Christian Hansen

NAME

Net::FastCGI::Record::Stream - Object representation of a FCGI Stream record

SYNOPSIS

    # Constructors
    $record = Net::FastCGI::Record::Stream->new($type, $request_id);
    $record = Net::FastCGI::Record::Stream->new($type, $request_id, $content);

DESCRIPTION

INHERITANCE

Net::FastCGI::Record::Stream extends Net::FastCGI::Record.

CONSTRUCTORS

new

Constructs an instance of Net::FastCGI::Record::Stream.

Usage

    $record = Net::FastCGI::Record::Stream->new($type, $request_id);
    $record = Net::FastCGI::Record::Stream->new($type, $request_id, $content);

Arguments

$type

An unsigned 8-bit integer.

$request_id

An unsigned 16-bit integer.

$content (optional)

A string of octets containing the body, must be less than or equal to 65535 octets in length.

Returns

$record

An instance of Net::FastCGI::Record::Stream.

EXPORTS

None.

SEE ALSO

http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S5.2
Net::FastCGI::Record
"build_record" in Net::FastCGI::Protocol

AUTHOR

Christian Hansen chansen@cpan.org

COPYRIGHT

Copyright (c) 2008 Christian Hansen. All rights reserved.

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