David Dick > Archive-Har-0.04 > Archive::Har::Entry::Request::QueryString

Download:
Archive-Har-0.04.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.04   Source   Latest Release: Archive-Har-0.05

NAME ^

Archive::Har::Entry::Request::QueryString - Represents a single name/value pair from the query string for a request inside the HTTP Archive

VERSION ^

Version 0.04

SYNOPSIS ^

    use Archive::Har();

    my $http_archive_string = '"log": { "version": "1.1", .... ';
    my $har = Archive::Har->new();
    $har->string($http_archive_string);
    foreach my $entry ($har->entries()) {
        my $request = $entry->request();
        foreach my $element ($request->queryString()) {
                print "Name: " . $element->name() . "\n";
                print "Value: " . $element->value() . "\n";
                print "Comment: " . $element->comment() . "\n";
        }
    }

SUBROUTINES/METHODS ^

name

returns the name of the element in the Query String

value

returns the value of the element in the Query String

comment

returns the comment about element in the Query String

syntax highlighting: