4.3.3.1 Connection Members

server
A server object associated with this connection. (Read-Only)

base_server
A server object for the physical vhost that this connection came in through. (Read-Only)

child_num
Integer. The number of the child handling the request. (Read-Only)

local_addr
The (address, port) tuple for the server. (Read-Only)

remote_addr
The (address, port) tuple for the client. (Read-Only)

remote_ip
String with the IP of the client. Same as CGI REMOTE_ADDR. (Read-Only)

remote_host
String. The DNS name of the remote client. None if DNS has not been checked, "" (empty string) if no name found. Same as CGI REMOTE_HOST. (Read-Only)

remote_logname
Remote name if using RFC1413 (ident). Same as CGI REMOTE_IDENT. (Read-Only)

user
If an authentication check is made, this will hold the user name. NOTE: You must call get_basic_auth_pw() before using this value. Same as CGI REMOTE_USER. (Read-Only)

ap_auth_type
Authentication type. (None == basic?). Same as CGI AUTH_TYPE. (Read-Only)

keepalives
The number of times this connection has been used. (?) (Read-Only)

local_ip
String with the IP of the server. (Read-Only)

local_host
DNS name of the server. (Read-Only)