The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

SYNOPSIS

    # Constructors
    $record = Net::FastCGI::Record::Values->new($type, $values);
    $record = Net::FastCGI::Record::Values->parse($type, $octets);
    
    # Methods
    $values = $record->get_values;

DESCRIPTION

INHERITANCE

Net::FastCGI::Record::Values extends Net::FastCGI::Record.

CONSTRUCTORS

new

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

Usage

    $record = Net::FastCGI::Record::Values->new($type, $values);

Arguments

$type

An unsigned 8-bit integer.

$values

A hash reference containing name/value pairs.

Returns

$record

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

parse

Parses a FCGI Values body.

Usage

    $record = Net::FastCGI::Record::Values->parse($type, $octets);

Arguments

$type

An unsigned 8-bit integer.

$octets

A string of octets containing the body.

Returns

$record

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

METHODS

get_values

Usage

    $values = $record->get_values;

Returns

$values

A hash reference containing name/value pairs.

EXPORTS

None.

SEE ALSO

http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S4.1
Net::FastCGI::Record
"build_params" in Net::FastCGI::Protocol
"parse_params" 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.