- COPYRIGHT AND LICENSE
POEx::Types::PSGIServer - (DEPRECATED) Provides type constraints for use in POEx::Role::PSGIServer
PSGIServerContext 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
This is a simple class_type for HTTP::Request
This constraint uses HTTP::Status to check if the Int is a valid HTTP::Status code
The 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
This constraint checks responses from PSGI applications for a valid HTTPCode, an ArrayRef of headers, and the Optional PSGIBody or ArrayRef body
Nicholas Perez <email@example.com>
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.