Apache::Connection
A class to wrap client socket connection records; may be fetched via Apache::Request#connection?.
Superclass
Object
Methods
aborted?-
Returns
trueif a timeout set by Apache::Request#soft_timeout? occurs while reading or writing to the client. auth_typeauth_type= str-
Returns/sets the type of authentication used, if any, as a
String. These methods are only implemented when running under Apache 1.x. local_host- Returns the DNS name of the IP address of the local side of the socket connection.
local_ip- Returns the dotted Internet address of the local side of the socket connection.
local_port- Returns the port number of the local side of the socket connection.
remote_host- Returns the DNS name of the client, if it is set, else the IP address.
remote_ip-
Returns the dotted Internet address of the client as a
String. remote_logname- Returns the username obtained via RFC 1413 lookup if the server is doing them.
remote_port- Returns the port number of the socket on the client side of the connection.
useruser= str- Returns/sets the name of the authenticated user, if any. These methods are only implemented when running under Apache 1.x, so if you wish to write code that works under either version, you should use the equivalent methods? in the Apache::Request object.
Keyword(s):
References:[ClassReferenceManual] [Apache::Request]