Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
POE::Component::ServerUsermContributedoPerl:Documer::SimpleHTTP::Connection(3)

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

VERSION
       version 2.26

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>

COPYRIGHT AND LICENSE
       This software is	copyright (c) 2017 by Apocalypse, Chris	Williams,
       Eriam Schaffter,	Marlon Bailey and Philip Gwyn.

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

perl v5.24.1		     POE::Component::Server::SimpleHTTP::Connection(3)

NAME | VERSION | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=POE::Component::Server::SimpleHTTP::Connection&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help