OAuth::Lite2::Client::Agent - Base class of preset-agents.
my $agent = OAuth::Lite2::Client::Agent->new; my $res = $agent->request( $req );
Base class of preset-agents.
Constructor you can set 'agent' that has same 'request' interface method as LWP::UserAgent. If you omit that, a simple LWP::UserAgent object is set by default.
my $agent = $class->new( agent => YourCustomAgent->new );
Returns HTTP::Response object.
OAuth::Lite2::Client::Agent::Dump, OAuth::Lite2::Client::Agent::Strict
Lyo Kato, lyo.kato _at_ gmail.com
lyo.kato _at_ gmail.com
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install OAuth::Lite2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OAuth::Lite2
CPAN shell
perl -MCPAN -e shell install OAuth::Lite2
For more information on module installation, please visit the detailed CPAN module installation guide.