Creates a server using the specified router and options.
The router instance to handle incoming requests.
Optional
The options for configuring the server.
The created server instance, or undefined if creation fails.
undefined
Generated using TypeDoc
Creates a server using the specified router and options.