MCPcopy
hub / github.com/nestjs/nest / close

Method close

packages/platform-express/adapters/express-adapter.ts:198–205  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

196 }
197
198 public close() {
199 this.closeOpenConnections();
200
201 if (!this.httpServer) {
202 return undefined;
203 }
204 return new Promise(resolve => this.httpServer.close(resolve));
205 }
206
207 public set(...args: any[]) {
208 return this.instance.set(...args);

Callers

nothing calls this directly

Calls 2

closeOpenConnectionsMethod · 0.95
closeMethod · 0.65

Tested by

no test coverage detected