- Source:
Some generic definitions for Nohm
Methods
(static) MiddlewareCallback(req, res, nextopt)
- Source:
This function is what is returned by NohmClass#middleware.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
req |
Object | http IncomingMessage |
|
res |
Object | http ServerResponse |
|
next |
function |
<optional> |
Optional next function for express/koa |