Group
Extension

Matches 3

Net-Async-UWSGI ( T/TE/TEAM/Net-Async-UWSGI-0.006.tar.gz, TEAM, 2015; MetaCPAN )
Net-Async-UWSGI/lib/Net/Async/UWSGI/Server.pm ( view source; MetaCPAN )
Async::UWSGI::Server::Connection;

use Scalar::Util qw(weaken);
use URI;
use URI::QueryParam;
use JSON::MaybeXS;
use Encode qw(encode);
use Future;
use HTTP::Response;

use Protocol::UWSGI qw(:server)
Net-Async-UWSGI ( T/TE/TEAM/Net-Async-UWSGI-0.006.tar.gz, TEAM, 2015; MetaCPAN )
Net-Async-UWSGI/lib/Net/Async/UWSGI/Server/Connection.pm ( view source; MetaCPAN )
 an incoming connection to a server

=head1 VERSION

version 0.006

=head1 DESCRIPTION

=cut

use JSON::MaybeXS;

use URI::QueryParam;
use IO::Async::Timer::Countdown;

use Encode qw(encode);
use Prot
;

=head2 CONTENT_TYPE_HANDLER

=cut

our %CONTENT_TYPE_HANDLER = (
	'application/javascript' => 'json',
);

use constant USE_HTTP_RESPONSE => 0;

=head1 METHODS

=cut

=head2 configure

Applies confi
ntent_handler { shift->{default_content_handler} }

=head2 json

Accessor for the current JSON state

=cut

sub json { shift->{json} ||= JSON::MaybeXS->new(utf8 => 1) }

=head2 on_read

Base read hand
Net-Async-UWSGI ( T/TE/TEAM/Net-Async-UWSGI-0.006.tar.gz, TEAM, 2015; MetaCPAN )
Net-Async-UWSGI/lib/Net/Async/UWSGI/Server/Connection.pod ( view source; MetaCPAN )
 bus

=item * on_request - callback when we get an incoming request

=back

=head2 json

Accessor for the current JSON state

=head2 on_read

Base read handler for incoming traffic.

Attempts to deleg
for the request body, available to the L</finish_request> callback.

=head2 content_handler_json

Handle JSON content.

=head1 INHERITED METHODS

=over 4

=item L<IO::Async::Stream>

L<close|IO::Async

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.