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  -  POE::COMPONENT::SERVER::SIMPLEHTTP::CONNECTION (3)

.ds Aq ’

NAME

POE::Component::Server::SimpleHTTP::Connection - Stores connection information for SimpleHTTP

CONTENTS

SYNOPSIS



        use POE::Component::Server::SimpleHTTP::Connection;
        my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket );

        # Print some stuff
        print $connection->remote_port;



DESCRIPTION



        This module simply holds some information from a SimpleHTTP connection.



    METHODS



        my $connection = POE::Component::Server::SimpleHTTP::Connection->new( $socket );

        $connection->remote_ip();       # Returns remote ip in dotted quad format ( 1.1.1.1 )
        $connection->remote_port();     # Returns remote port
        $connection->remote_addr();     # Returns true remote address, consult the L<Socket> POD
        $connection->local_addr();      # Returns true local address, same as above
        $connection->local_ip();        # Returns local ip in dotted quad format ( 1.1.1.1 )
        $connection->local_port();      # Returns local port
        $connection->dead();            # Returns a boolean value whether the socket is closed or not
        $connection->ssl();             # Returns a boolean value whether the socket is SSLified or not
        $connection->sslcipher();       # Returns the SSL Cipher type or undef if not SSL
        $connection->ID();          # unique ID of this connection



    EXPORT

Nothing.

SEE ALSO

POE::Component::Server::SimpleHTTP, POE::Component::Server::SimpleHTTP::Response

AUTHOR

Apocalypse <apocal@cpan.org>

Chris BinGOs Williams <chris@bingosnet.co.uk>

COPYRIGHT AND LICENSE

Copyright X Apocalypse and Chris Williams

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

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


perl v5.20.3 POE::COMPONENT::SERVER::SIMPLEHTTP::CONNECTION (3) 2016-02-23

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