Paul Driver > POEx-Role-PSGIServer-1.110670 > POEx::Role::PSGIServer::ProxyWriter

Download:
POEx-Role-PSGIServer-1.110670.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 1.110670   Source  

NAME ^

POEx::Role::PSGIServer::ProxyWriter - Provides a push writer for PSGI applications to use

VERSION ^

version 1.110670

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

proxied

    is: ro, isa: Object, weak_ref: 1, required: 1

This is the actual object that consumes POEx::Role::PSGIServer. It is weakened to make sure it is properly collected when the connection closes

PUBLIC_METHODS ^

write

    ($data)

write proxies to the weakened PSGIServer consumer object passing along the "server_context"

close

close is proxied to the weakened PSGIServer consumer passing along "server_context"

poll_cb

    (CodeRef $coderef)

poll_cb is provided to complete the interface. The first argument to $coderef will be $self

AUTHOR ^

Nicholas Perez <nperez@cpan.org>

COPYRIGHT AND LICENSE ^

This 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.

syntax highlighting: