Peter Sergeant > Infobot-0.91_05 > Infobot::Plugin::DataSource::HTTP

Download:
Infobot-0.91_05.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
Report a bug
Source  

NAME ^

Infobot::Plugin::DataSource::HTTP - Spawn a POE::Component::Client::HTTP session

DESCRIPTION ^

Spawns a POE::Component::Client::HTTP session for easy use by other components

CONFIGURATION EXAMPLE ^

 datasource:
 ...
    'HTTP':
        class : Infobot::Plugin::DataSource::HTTP
        alias : poe_http
        extras:
          Agent   : Infobot v1.0
          Timeout : 15
          FollowRedirects: 3

CONFIGURATION OPTIONS ^

alias

Where to stash this, and also the POE alias given to the session we create.

extras

Passed directly through to POE::Component::Client::HTTP - see those docs for more information on what's allowed

AUTHOR ^

Pete Sergeant -- pete@clueball.com

LICENSE ^

Copyright Pete Sergeant.

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