NAME

WWW::AUR::UserAgent - Default HTTP UserAgent object for requests.

DESCRIPTION

This is the default user agent for making HTTP requests. By default this class ISA LWP::UserAgent object with all methods provided by LWP::UserAgent. Maybe in the future I will fancy it up a bit more in order to use AnyEvent and concurrent requests if I need to.

The only difference from LWP::UserAgent is that the 'useragent' string parameter is set to "WWW::AUR/v$VERSION" where $VERSION is equal to $WWW::AUR::VERSION.

OBJECT METHODS

Right now the methods are the same as LWP::UserAgent.

CLASS METHODS

This class also contains the InitTLS class method to load the modules required for SSL/TLS https connections. This is only used by the WWW::AUR::Login module. InitTLS takes no parameters. I find this an improvement compared to having LWP::UserAgent raise an error internally.

SEE ALSO

WWW::AUR

AUTHOR

Justin Davis, <juster at cpan dot org>

BUGS

Please email me any bugs you find. I will try to fix them as quick as I can.

SUPPORT

Send me an email if you have any questions or need help.

LICENSE AND COPYRIGHT

Copyright 2011 Justin Davis.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.