()
| 474 | } |
| 475 | |
| 476 | private host(): string | undefined { |
| 477 | const address = this.httpServer.address(); |
| 478 | if (isString(address)) { |
| 479 | return undefined; |
| 480 | } |
| 481 | return address && address.address; |
| 482 | } |
| 483 | |
| 484 | private getProtocol(): 'http' | 'https' { |
| 485 | return this.appOptions && this.appOptions.httpsOptions ? 'https' : 'http'; |
no test coverage detected