GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  POEX::TYPES::PSGISERVER (3)

.ds Aq ’

NAME

POEx::Types::PSGIServer - Provides type constraints for use in POEx::Role::PSGIServer

CONTENTS

VERSION

version 1.110670

TYPES

    PSGIServerContext

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

    HTTPRequest

This is a simple class_type for HTTP::Request

    HTTPCode

This constraint uses HTTP::Status to check if the Int is a valid HTTP::Status code

    PSGIBody

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

    PSGIResponse

This constraint checks responses from PSGI applications for a valid HTTPCode, an ArrayRef of headers, and the Optional PSGIBody or ArrayRef body

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.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 POEX::TYPES::PSGISERVER (3) 2011-03-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.