There was an error while loading. Please reload this page.
1 parent a042760 commit 9c3a878Copy full SHA for 9c3a878
1 file changed
docs/index.d.ts
@@ -325,6 +325,8 @@ export interface TemplatedApp {
325
removeServerName(hostname: string) : TemplatedApp;
326
/** Registers a synchronous callback on missing server names. See /examples/ServerName.js. */
327
missingServerName(cb: (hostname: string) => void) : TemplatedApp;
328
+ /** Closes all sockets including listen sockets. This will forcefully terminate all connections. */
329
+ close() : TemplatedApp;
330
}
331
332
/** Constructs a non-SSL app. An app is your starting point where you attach behavior to URL routes.
0 commit comments