---
name: "Padre::Task::HTTPClient"
section: "3pm"
platform: "linux"
package: "padre"
version: "0.63.ds1-1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/Padre::Task::HTTPClient"
---

# Padre::Task::HTTPClient(3pm)

HTTP client for Padre

## 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.
