Re: API Docs

Holger Kipp <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
Am 15.05.2014 um 01:52 schrieb Worik Stanton <[email protected]>:

> I am still trying to fathom the API.
> 
> I have struck a snag with the documentation.
> 
> 
> https://perl.apache.org/docs/2.0/api/Apache2/Connection.html#Synopsis
> says....
> 
> use Apache2::Connection ();
> use Apache2::RequestRec ();
> 
> my $c = $r->connection;
> 
> 
> What is $r?


$r is the Apache2::RequestRec object
$c is the Apache2::Connection object

it is in the documentation for connection method:
---
connection

Get the client connection record

$c = $r->connection();
	• obj: $r ( Apache2::RequestRec object )
	• ret: $c ( Apache2::Connection object )
	• since: 2.0.00
—


Best regards,
Holger
signature.asc (application/pgp-signature, 841 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJTddzaAAoJEGN/sdAjKz5Ph4YQAKWFKNPBSHewP6FKUCxTE9B/
oI1VTBWE4LKrqHKrXZ5g6WhwwmuZfJyEj+a/FrORGnIQiEieBtTzmo9k4vmloqIQ
gG+0gRNDN8CiJVizz5GMh0P/JocVJfrUZtG9KwXquDI02/I1MQrZI/OAjoHr3SWj
Q6m5oP/keV6j3t9Xauvt+AKZGsfhdwBtJKdIxYHWLI35kPwXQYvn6MB5r2a/1V6M
Y71cChhjjVnwOiLhkJsjrxMIcCI82zHNP+dNk2P041HkQU0NwkdeUzzJApiaa5in
lXVTyrwOTiRCXl/qTcBEJ/3ndWXQxvzyoHk+MS4J2sHafdgsPKIwsH7cLPOy1WWR
XFi3ctQhzQnSfBgiTStgLVFrAB/bm48zQqG6AwkFJLJYZX2LKb7zIQDdf5rbEh+n
PTd+863iMGtBwW4KqeQJBMNTHqsJtihXMDGtEa0Ov41/QJ8ltZVFni39JMow+Ubc
WDL0XZKGhU2Uhr2JWXYg8KHdj/9/561sM44EImoSYuWs/+83bWEg5KwKur1aZQ2D
Qfuh09SgJ6Xbajk6H1SSjATQq/zjQ/LMX6+SpJAi6hqaFL3iHzl9T5HwmPVZgwoK
7PEsM5WoL0LLHjlJOLvbysMVZPTc7zbm2CGFuWacZWJl8cS9f1zzQO6Eq79mY2Yl
1ND5ciH46LrEwHpC+Vkr
=EbfM
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.