NAME
Net::FastCGI::Record::EndRequest - Object representation of a FCGI_EndRequestRecord
SYNOPSIS
# Constructors
$record = Net::FastCGI::Record::EndRequest->new($request_id, $application_status, $protocol_status);
$record = Net::FastCGI::Record::EndRequest->parse($request_id, $octets);
# Methods
$application_status = $record->get_application_status;
$protocol_status = $record->get_protocol_status;
DESCRIPTION
INHERITANCE
Net::FastCGI::Record::EndRequest
extends Net::FastCGI::Record.
CONSTRUCTORS
new
Constructs an instance of Net::FastCGI::Record::EndRequest
.
Usage
$record = Net::FastCGI::Record::EndRequest->new($request_id, $application_status, $protocol_status);
Arguments
$request_id
-
An unsigned 16-bit integer.
$application_status
-
An unsigned 16-bit integer.
$protocol_status
-
An unsigned 8-bit integer.
Returns
parse
Parses FCGI_EndRequestBody
.
Usage
$record = Net::FastCGI::Record::EndRequest->parse($request_id, $octets);
Arguments
$request_id
-
An unsigned 16-bit integer.
$octets
-
A string of octets containing the body, must be greater than or equal to 8 octets in length.
Returns
METHODS
get_application_status
Usage
$application_status = $record->get_application_status;
Returns
get_protocol_status
Usage
$protocol_status = $record->get_protocol_status;
Returns
EXPORTS
None.
SEE ALSO
- http://www.fastcgi.com/devkit/doc/fcgi-spec.html#S5.5
- Net::FastCGI::Record
- "build_end_request_record" in Net::FastCGI::Protocol
- "build_end_request_body" in Net::FastCGI::Protocol
- "parse_end_request_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.