router

Server.Modules.Router. router

# new router()

This is the Router Class. It is used to generate new Routers.

Example
Tbc...

Extends

Methods

# (static) incoming(msg)

Tbc...

Parameters:
Name Type Description
msg object

Router Message

Example
Tbc...

# (static) route(hostname, url, cb)

Tbc...

Parameters:
Name Type Description
hostname string

Hostname

url string

URL

cb function

Callback Function

Example
Tbc...