Route

Undocumented in source.

Constructors

this
this(string url)

Creates a new route.

this
this(HttpClient client)

Creates a new route.

Members

Functions

getData
T getData(size_t index)

Gets data from a specific parameter.

passDataToAction
void passDataToAction()
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()

Converts the route to a string.

Properties

action
string action [@property getter]

Gets the action.

hasParams
bool hasParams [@property getter]

Gets a boolean determining whether the route has paramters or not.

name
string name [@property getter]

Gets the name.

params
string[] params [@property getter]

Gets the parameters.

Meta