Classes
Methods
(static) VirtualHostHandler.create(hostname, handler) → {VirtualHostHandler}
Create a handler
Parameters:
| Name | Type | Description |
|---|---|---|
hostname |
string | |
handler |
function |
Returns:
the handler
- Type
- VirtualHostHandler