FCGI::Client::Record - record object for FCGI


FCGI-Client documentation Contained in the FCGI-Client distribution.

Index


Code Index:

NAME

Top

FCGI::Client::Record - record object for FCGI

SYNOPSIS

Top

    my $record = FCGI::Client::Record->new(header => $header, content => $content);
    say $record->type;

DESCRIPTION

Top

This module is record class for FCGI::Client.

ATTRIBUTES

Top

'header' attribute is instance of FCGI::Client::RecordHeader.

content

'content' attribute is string of record content.

METHOD

Top

$self->request_id()
$self->content_length()
$self->type()

shortcut of $self->header->any_method()

SEE ALSO

Top

FCGI::Client


FCGI-Client documentation Contained in the FCGI-Client distribution.

package FCGI::Client::Record;
use Any::Moose;
use FCGI::Client::Constant;
use FCGI::Client::RecordHeader;

has header     => ( is => 'ro', isa => 'FCGI::Client::RecordHeader', handles => [qw/request_id content_length type/] );
has content    => ( is => 'ro', isa => 'Str' );

__PACKAGE__->meta->make_immutable;
__END__