NAME

AnyEvent::UWSGI - non-blocking UWSGI client (based on AnyEvent::HTTP)

SYNOPSIS

use AnyEvent::UWSGI;
uwsgi_get "uwsgi://example.com:3044/", headers => {Host => "example.com"}, sub { print $_[0] };

DESCRIPTION

This module is an adaptation of AnyEvent::HTTP module for uwsgi protocol. Subroutines prefixed by http_* (like request, get, post, head) replaced by appropriate subrountines with the prefix uwsgi_*.

METHODS

uwsgi_request

Like AnyEvent::HTTP::http_request Also accepts modifier1 and modifier2 in %args

uwsgi_get

Like AnyEvent::HTTP::http_get

uwsgi_head

Like AnyEvent::HTTP::http_head

uwsgi_post

Like AnyEvent::HTTP::http_post

SEE ALSO

AnyEvent::HTTP

AUTHOR

Alexander Kazakov, <voland.kot@gmail.com>

COPYRIGHT AND LICENSE

Copyright (C) 2016 by Alexander Kazakov

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.