NAME
APR::URI - Perl API for XXX
Synopsis
use APR::URI ();
META: to be completed
Description
META: to be completed
API
APR::URI
provides the following functions and/or methods:
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);
- arg1:
$scheme_str
(string) -
The string that contains the current scheme
- ret:
$ret
(integer) -
The default port for this scheme
scheme
META: Autogenerated - needs to be reviewed/completed
scheme ("http"/"ftp"/...)
$ret = $obj->scheme($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
hostinfo
META: Autogenerated - needs to be reviewed/completed
combined [user[:password]\@]host[:port]
$ret = $obj->hostinfo($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
user
META: Autogenerated - needs to be reviewed/completed
user name, as in http://user:passwd\@host:port/
$ret = $obj->user($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
password
META: Autogenerated - needs to be reviewed/completed
password, as in http://user:passwd\@host:port/
$ret = $obj->password($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
hostname
META: Autogenerated - needs to be reviewed/completed
hostname from URI (or from Host: header)
$ret = $obj->hostname($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
path
META: Autogenerated - needs to be reviewed/completed
the request path (or "/" if only scheme://host was given)
$ret = $obj->path($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
query
META: Autogenerated - needs to be reviewed/completed
Everything after a '?' in the path, if present
$ret = $obj->query($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
fragment
META: Autogenerated - needs to be reviewed/completed
Trailing "#fragment" string, if present
$ret = $obj->fragment($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(string)
is_initialized
META: Autogenerated - needs to be reviewed/completed
has the structure been initialized
$ret = $obj->is_initialized($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(number)
dns_looked_up
META: Autogenerated - needs to be reviewed/completed
has the DNS been looked up yet
$ret = $obj->dns_looked_up($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(number)
dns_resolved
META: Autogenerated - needs to be reviewed/completed
has the dns been resolved yet
$ret = $obj->dns_resolved($newval);
- arg1:
$obj
(APR::URI
) - arg2:
$newval
(number)
See Also
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.