OAuth::Lite2::Agent(3pm)

OAuth::Lite2::Agent3pm

Base class of preset-agents.

Usage

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

Overview

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.

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

Author

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

From liboauth-lite2-perl 0.11-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.