The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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);
obj: $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);
obj: $obj (APR::URI)
arg1: $newval (string)

hostinfo

META: Autogenerated - needs to be reviewed/completed

combined [user[:password]\@]host[:port]

  $ret = $obj->hostinfo($newval);
obj: $obj (APR::URI)
arg1: $newval (string)

user

META: Autogenerated - needs to be reviewed/completed

user name, as in http://user:passwd\@host:port/

  $ret = $obj->user($newval);
obj: $obj (APR::URI)
arg1: $newval (string)

password

META: Autogenerated - needs to be reviewed/completed

password, as in http://user:passwd\@host:port/

  $ret = $obj->password($newval);
obj: $obj (APR::URI)
arg1: $newval (string)

hostname

META: Autogenerated - needs to be reviewed/completed

hostname from URI (or from Host: header)

  $ret = $obj->hostname($newval);
obj: $obj (APR::URI)
arg1: $newval (string)

path

META: Autogenerated - needs to be reviewed/completed

the request path (or "/" if only scheme://host was given)

  $ret = $obj->path($newval);
obj: $obj (APR::URI)
arg1: $newval (string)

query

META: Autogenerated - needs to be reviewed/completed

Everything after a '?' in the path, if present

  $ret = $obj->query($newval);
obj: $obj (APR::URI)
arg1: $newval (string)

fragment

META: Autogenerated - needs to be reviewed/completed

Trailing "#fragment" string, if present

  $ret = $obj->fragment($newval);
obj: $obj (APR::URI)
arg1: $newval (string)

is_initialized

META: Autogenerated - needs to be reviewed/completed

has the structure been initialized

  $ret = $obj->is_initialized($newval);
obj: $obj (APR::URI)
arg1: $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);
obj: $obj (APR::URI)
arg1: $newval (number)

dns_resolved

META: Autogenerated - needs to be reviewed/completed

has the dns been resolved yet

  $ret = $obj->dns_resolved($newval);
obj: $obj (APR::URI)
arg1: $newval (number)

See Also

mod_perl 2.0 documentation.

Copyright

mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 1.1.

Authors

The mod_perl development team and numerous contributors.