NAME

Mojo::UserAgent::Mockable::Request::Compare - Helper class for Mojo::UserAgent::Mockable that compares two Mojo::Message::Request instances

VERSION

version 1.59

ATTRIBUTES

compare_result

The result of the last compare operation. It is only populated when two requests do not match.

ignore_userinfo

Set this to a true value to ignore a mismatch in the userinfo portion of a transaction URL.

ignore_body

Set this to a true value to ignore a mismatch in the bodies of the two compared transactions

METHODS

compare

Compare two instances of Mojo::Message::Request.

AUTHOR

Kit Peters <popefelix@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2022 by Kit Peters.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.