logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

OAuth::Lite2::Agent - Base class of preset-agents.

Author

       Lyo Kato, "lyo.kato _at_ gmail.com"

Description

       Base class of preset-agents.

Methods

new(%args)
       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 );

   request($req)
       Returns HTTP::Response object.

Name

       OAuth::Lite2::Agent - Base class of preset-agents.

See Also

       OAuth::Lite2::Client::Agent::Dump, OAuth::Lite2::Client::Agent::Strict

Synopsis

           my $agent = OAuth::Lite2::Client::Agent->new;
           my $res = $agent->request( $req );

See Also