new ServerMiddleware(server [, outerOptions])
Creates a Connect/Express compatible middleware bound to a Server
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
server |
Server | Server instance | |
outerOptions |
Object |
<optional> |
Specific options for the middleware |
- Source:
Returns:
- Type
- function