|
NAMEPOEx::Types::PSGIServer - Provides type constraints for use in POEx::Role::PSGIServer VERSIONversion 1.110670 TYPESPSGIServerContextPSGIServerContext is defined as a Hash with the following keys: request => HTTPRequest,
wheel => Optional[Wheel],
version => Str,
protocol => Str,
connection => Str,
keep_alive => Bool,
chunked => Optional[Bool],
explicit_length => Optional[Bool],
The context is passed around to identify the current connection and what it is expecting HTTPRequestThis is a simple class_type for HTTP::Request HTTPCodeThis constraint uses HTTP::Status to check if the Int is a valid HTTP::Status code PSGIBodyThe PSGIBody constraint covers two of the three types of body responses valid for PGSI responses: a real filehandle or a blessed reference that duck-types getline and close PSGIResponseThis constraint checks responses from PSGI applications for a valid HTTPCode, an ArrayRef of headers, and the Optional PSGIBody or ArrayRef body 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.
|