Skip to content

my-mail-ru/perl-AnyEvent-UWSGI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 arguments

  • 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, [email protected]

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.

About

Non-blocking UWSGI client

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages