NAME
Net::FastCGI::Record - Object representation of a FCGI_Record
SYNOPSIS
# Constructors
$record = Net::FastCGI::Record->new($type, $request_id);
# Methods
$octets = $record->build;
$type = $record->get_type;
$request_id = $record->get_request_id;
$content = $record->get_content;
$content_length = $record->get_content_length;
$boolean = $record->has_content;
$boolean = $record->is_management;
$boolean = $record->is_discrete;
$boolean = $record->is_stream;
$string = $record->to_string;
DESCRIPTION
CONSTRUCTORS
new
Constructs an instance of Net::FastCGI::Record
.
Usage
$record = Net::FastCGI::Record->new($type, $request_id);
Arguments
Returns
METHODS
build
Usage
$octets = $record->build;
Returns
get_type
Usage
$type = $record->get_type;
Returns
get_request_id
Usage
$request_id = $record->get_request_id;
Returns
get_content
Usage
$content = $record->get_content;
Returns
get_content_length
Usage
$content_length = $record->get_content_length;
Returns
has_content
Usage
$boolean = $record->has_content;
Returns
is_management
Usage
$boolean = $record->is_management;
Returns
is_discrete
Usage
$boolean = $record->is_discrete;
Returns
is_stream
Usage
$boolean = $record->is_stream;
Returns
to_string
Usage
$string = $record->to_string;
Returns
EXPORTS
None.
SEE ALSO
- http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S3.3
- "build_header" in Net::FastCGI::Protocol
- "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.