APR::URI - Perl API for XXX
use APR::URI ();
META: to be completed
APR::URI provides the following functions and/or methods:
APR::URI
port_of_scheme
META: Autogenerated - needs to be reviewed/completed
Return the default port for a given scheme. The schemes recognized are http, ftp, https, gopher, wais, nntp, snews, and prospero
$ret = port_of_scheme($scheme_str);
$scheme_str
The string that contains the current scheme
$ret
The default port for this scheme
scheme
scheme ("http"/"ftp"/...)
$ret = $obj->scheme($newval);
$obj
$newval
hostinfo
combined [user[:password]\@]host[:port]
$ret = $obj->hostinfo($newval);
user
user name, as in http://user:passwd\@host:port/
$ret = $obj->user($newval);
password
password, as in http://user:passwd\@host:port/
$ret = $obj->password($newval);
hostname
hostname from URI (or from Host: header)
$ret = $obj->hostname($newval);
path
the request path (or "/" if only scheme://host was given)
$ret = $obj->path($newval);
query
Everything after a '?' in the path, if present
$ret = $obj->query($newval);
fragment
Trailing "#fragment" string, if present
$ret = $obj->fragment($newval);
is_initialized
has the structure been initialized
$ret = $obj->is_initialized($newval);
dns_looked_up
has the DNS been looked up yet
$ret = $obj->dns_looked_up($newval);
dns_resolved
has the dns been resolved yet
$ret = $obj->dns_resolved($newval);
mod_perl 2.0 documentation.
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.
The mod_perl development team and numerous contributors.
To install mod_perl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm mod_perl
CPAN shell
perl -MCPAN -e shell install mod_perl
For more information on module installation, please visit the detailed CPAN module installation guide.