NAME

POEx::Role::PSGIServer::Streamer - (DEPRECATED) Provides streaming filehandle PSGI implementation

VERSION

version 1.150280

PUBLIC_ATTRIBUTES

server_context

is: ro, isa: PSGIServerContext, required: 1

This is the server context from POEx::Role::PSGIServer. It is needed to determine the semantics of the current request

PRIVATE_ATTRIBUTES

closed_chunk

is: rw, isa: Bool, default: 0

closed_chunk is a flag used by the advised "around done_writing" to know whether the chunked transfer encoding needs a terminator or if the terminator has already been written to the output buffer

PROTECTED_METHODS

around done_writing

done_writing is advised to check if the context demands a chunked terminator and if one hasn't been sent yet. If so, it marks "closed_chunk", puts the terminator into the output buffer, and returns. Upon second invocation when the buffers are flushed, it will execute the original method.

PRIVATE_METHODS

_build_filter

_build_filter is overridden to return a POE::Filter::Map filter if the current response is to be chunk transfer encoded.

AUTHOR

Nicholas Perez <nperez@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by Infinity Interactive.

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