|
NAMEPOEx::Role::PSGIServer::Streamer - Provides streaming filehandle PSGI implementationVERSIONversion 1.110670PUBLIC_ATTRIBUTESserver_contextis: 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_ATTRIBUTESclosed_chunkis: 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_METHODSaround done_writingdone_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.AUTHORNicholas Perez <nperez@cpan.org>COPYRIGHT AND LICENSEThis software is copyright (c) 2011 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.
Visit the GSP FreeBSD Man Page Interface. |