Net::Async::UWSGI::Server::Connection - represents an incoming connection to a server
version 0.006
Applies configuration parameters.
bus - the event bus
on_request - callback when we get an incoming request
Accessor for the current JSON state
Base read handler for incoming traffic.
Attempts to delegate to "dispatch_request" as soon as we get the UWSGI frame.
Cancels any request in progress.
If there's still a connection to the client, they'll receive a 500 response.
It's far more likely that the client has gone away, in which case there's no response to send.
Accessor for the UWSGI environment.
Resolves when the response is complete.
At this point we have a request including headers, and we should know whether there's a body involved somewhere.
Returns true if we're expecting a request body for the current request method.
Read handler for chunked data. Unlikely to be used by any real implementations.
Deal with trailing headers. Not yet implemented.
Read up to the expected fixed length of data.
Accessor for the request body, available to the "finish_request" callback.
Handle JSON content.
close, close_now, close_when_empty, connect, is_read_eof, is_write_eof, new_for_stdin, new_for_stdio, new_for_stdout, on_read_high_watermark, on_read_low_watermark, on_read_ready, on_write_ready, push_on_read, read_atmost, read_exactly, read_until, read_until_eof, want_readready_for_read, want_readready_for_write, want_writeready_for_read, want_writeready_for_write, write
bind, close_read, close_write, new_close_future, notifier_name, read_fileno, read_handle, set_handle, set_handles, socket, want_readready, want_writeready, write_fileno, write_handle
add_child, adopt_future, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, parent, remove_child, remove_from_parent
Tom Molesworth <cpan@perlsite.co.uk>
Copyright Tom Molesworth 2013-2015. Licensed under the same terms as Perl itself.
To install Net::Async::UWSGI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Async::UWSGI
CPAN shell
perl -MCPAN -e shell install Net::Async::UWSGI
For more information on module installation, please visit the detailed CPAN module installation guide.