Why not adopt me?
NAME
Plack::VCR - API for interacting with a frozen request file
VERSION
version 0.06
SYNOPSIS
use Plack::VCR;
my $vcr = Plack::VCR->new(filename => 'requests.out');
while(my $interaction = $vcr->next) {
my $req = $interaction->request;
# $req is an HTTP::Request object; do something with it
}
DESCRIPTION
Plack::VCR provides an API for iterating over the HTTP interactions saved to a file by Plack::Middleware::Recorder.
METHODS
new(filename => $filename)
Creates a new VCR that will iterate over the interactions contained in $filename
.
next
Returns the next HTTP interaction in the stream.
SEE ALSO
Plack::Middleware::Recorder, Plack::VCR::Interaction
AUTHOR
Rob Hoelz <rob@hoelz.ro>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Rob Hoelz.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
BUGS
Please report any bugs or feature requests on the bugtracker website https://github.com/hoelzro/plack-middleware-recorder/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.