|
|
@ -0,0 +1,14 @@ |
|
|
|
'use strict' |
|
|
|
|
|
|
|
class Middleware { |
|
|
|
/** |
|
|
|
* Return one or more options definitions to collect command-line input |
|
|
|
* @returns {OptionDefinition|OptionDefinition[]} |
|
|
|
*/ |
|
|
|
optionDefinitions () {} |
|
|
|
|
|
|
|
/** |
|
|
|
* Return one of more middleware functions with three args (req, res and next). Can be created by express, Koa or hand-rolled. |
|
|
|
*/ |
|
|
|
middleware (localWebServer) {} |
|
|
|
} |