The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Padre::Task::HTTPClient - HTTP client for Padre

DESCRIPTION

Padre::Task::HTTPClient provides a common API for HTTP access to Padre.

As we don't want a specific HTTP client module dependency to a network-independent application like Padre, this module searches for installed HTTP client modules and uses one of them.

If none of the "child" modules could be loaded (no HTTP support at all on this computer), it fails and returns nothing (scalar undef).

METHODS

new

  my $http = Padre::Task::HTTPClient->new();

The new constructor lets you create a new Padre::Task::HTTPClient object.

Returns a new Padre::Task::HTTPClient or dies on error.