Christian Hansen

NAME

Net::FastCGI::Record::UnknownType - Object representation of a FCGI_UnknownTypeRecord

SYNOPSIS

    # Constructors
    $record = Net::FastCGI::Record::UnknownType->new($unknown_type);
    $record = Net::FastCGI::Record::UnknownType->parse($octets);
    
    # Methods
    $unknown_type = $record->get_unknown_type;

DESCRIPTION

INHERITANCE

Net::FastCGI::Record::UnknownType extends Net::FastCGI::Record.

CONSTRUCTORS

new

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

Usage

    $record = Net::FastCGI::Record::UnknownType->new($unknown_type);

Arguments

$unknown_type

An unsigned 8-bit integer.

Returns

$record

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

parse

Parses FCGI_UnknownTypeBody.

Usage

    $record = Net::FastCGI::Record::UnknownType->parse($octets);

Arguments

$octets

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

Returns

$record

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

METHODS

get_unknown_type

Usage

    $unknown_type = $record->get_unknown_type;

Returns

$unknown_type

An unsigned 8-bit integer.

EXPORTS

None.

SEE ALSO

http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S5.5
Net::FastCGI::Record
"build_unknown_type_record" in Net::FastCGI::Protocol
"build_unknown_type_body" in Net::FastCGI::Protocol
"parse_unknown_type_body" 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.