NAME

Clio::Server::HTTP::Client::Stream - Clio HTTP Client for streaming connections

VERSION

version 0.02

DESCRIPTION

# HTTP server with streaming clients
<Server>
    Listen 0:12345

    Class HTTP

    <Client>
        Class Stream

        OutputFilter LineEnd
    </Client>
</Server>

HTTP server with streaming capabilities.

Process output is streamed directly to client - the above example can be used directly in a browser for read only data.

Extends of Clio::Client.

ATTRIBUTES

writer

Response callback writer

req

HTTP request

METHODS

write

Write client's message to process.

respond

Returns response callback for handling client communication.

Note: POST requests (inputs for process) are separate connections.

close

Close connection to client

SEE ALSO

AUTHOR

Alex J. G. Burzyński <ajgb@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2012 by Alex J. G. Burzyński <ajgb@cpan.org>.

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