enum Athena::Routing::URLGeneratorInterface::ReferenceType
Overview
Represents the type of URLs that are able to be generated via an ART::URLGeneratorInterface.
Defined in:
routing/url_generator_interface.crEnum Members
-
Absolute_URL =
0 -
Includes an absolute URL including protocol, hostname, and path:
https://api.example.com/add/10/5.By default the
Hostheader of the request is used as the hostname, with the scheme beinghttps. This can be customized via theART::Parameters#base_uriparameter.!!!note If the
base_uriparameter is not set, and there is noHostheader, the generated URL will fallback onAbsolute_Path. -
Absolute_Path =
1 -
The default type, includes an absolute path from the root to the generated route:
/add/10/5. -
Relative_Path =
2 -
TODO Implement this.
-
Network_Path =
3 -
Similar to
Absolute_URL, but reuses the current protocol://api.example.com/add/10/5.