Methods
onError()
Event listener for HTTP server "error" event.
- Source:
onListening()
Event listener for HTTP server "listening" event.
- Source:
stripSlash(url) → {string}
Remove leading slash
Parameters:
| Name | Type | Description |
|---|---|---|
url |
string | path url |
- Source:
Returns:
- Type
- string