NAME

Plack::Client::Backend::http - backend for handling HTTP requests

VERSION

version 0.06

SYNOPSIS

Plack::Client->new(
    'http' => {},
);

Plack::Client->new(
    'http' => Plack::Client::Backend::http->new,
);

DESCRIPTION

This backend implements HTTP requests. The current implementation uses Plack::App::Proxy to make the request.

METHODS

new

Constructor. Takes two optional arguments:

proxy_args

Hashref of arguments to pass to the Plack::App::Proxy constructor.

proxy

Plack::App::Proxy object to use for requests.

app_from_request

Takes a Plack::Request object, and returns an app which will retrieve the HTTP resource.

SEE ALSO

Please see those modules/websites for more information related to this module.

AUTHOR

Jesse Luehrs <doy at tozt dot net>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Jesse Luehrs.

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