NAME

AnyEvent::ImageShack - simple non-blocking client for image hosting ImageShack.us

VERSION

0.021

SYNOPSIS

use AnyEvent::ImageShack;

my $c = AnyEvent->condvar;
image_host('url/or/path/to/image.png', sub { warn shift; $c->send });
$c->recv;

METHODS

image_host $image, option => value, ..., $callback

Host image $image to ImageShack.us

OPTIONS

user_agent - UserAgent string
active - number of active connections for AnyEvent::HTTP
max_per_host - maximum connections per one host for AnyEvent::HTTP

SUPPORT

SEE ALSO

AnyEvent, AnyEvent::HTTP

COPYRIGHT & LICENSE

Copyright 2010-2011 Dmitry Konstantinov. All right reserved.

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