| FCGI-Client documentation | Contained in the FCGI-Client distribution. |
FCGI::Client::Record - record object for FCGI
my $record = FCGI::Client::Record->new(header => $header, content => $content);
say $record->type;
This module is record class for FCGI::Client.
'header' attribute is instance of FCGI::Client::RecordHeader.
'content' attribute is string of record content.
shortcut of $self->header->any_method()
| 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__