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

NAME

Archive::Har::Page - Represents a single page inside the HTTP Archive

VERSION

Version 0.05

SYNOPSIS

    use Archive::Har();

    my $http_archive_string = '"log": { "version": "1.1", .... ';
    my $har = Archive::Har->new();
    $har->string($http_archive_string);
    foreach my $page ($har->pages()) {
        print "DateTime: " . $page->startedDateTime() . "\n";
        print "Id: " . $page->id() . "\n";
        print "Title: ". $page->title() . "\n";
        my $timing = $page->pageTimings();
        print "Comment: " . $page->comment() . "\n";
    }

SUBROUTINES/METHODS

startedDateTime

returns the date and time stamp for the beginning of the page load (ISO 8601 format)

id

returns the unique identifier of a page within the Archive. This is referenced by the Archive::Har::Entry objects

title

returns the page title

pageTimings

returns the page timings object

comment

returns the comment about the Page