URLRouter

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

getBasePath
string getBasePath()
Undocumented in source. Be warned that the author may not have intended to support it.
getDelegate
void delegate(Handle) getDelegate()
Undocumented in source. Be warned that the author may not have intended to support it.
getTitle
string getTitle()
Undocumented in source. Be warned that the author may not have intended to support it.
handleLinkEvent
void handleLinkEvent(MouseEvent ev)
Undocumented in source. Be warned that the author may not have intended to support it.
navigateTo
void navigateTo(string new_url)

Handles a HTTP request by dispatching it to the registered route handlers.

onPopState
Any onPopState(Event ev)
Undocumented in source. Be warned that the author may not have intended to support it.
register
void register(Optional!(Promise!void) delegate(ref RouterEvent ev) nothrow @(safe) cb, Direction direction)

Adds a new route for requests matching the specified HTTP method and pattern.

setBasePath
void setBasePath(string base_url)
Undocumented in source. Be warned that the author may not have intended to support it.
setTitle
void setTitle(string title)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta