diff --git a/index.d.ts b/index.d.ts index 498914be..496316ed 100644 --- a/index.d.ts +++ b/index.d.ts @@ -325,6 +325,8 @@ export interface TemplatedApp { removeServerName(hostname: string) : TemplatedApp; /** Registers a synchronous callback on missing server names. See /examples/ServerName.js. */ missingServerName(cb: (hostname: string) => void) : TemplatedApp; + /** Closes all sockets including listen sockets. This will forcefully terminate all connections. */ + close() : TemplatedApp; } /** Constructs a non-SSL app. An app is your starting point where you attach behavior to URL routes. diff --git a/source_commit b/source_commit index 4b21fef8..ea0b2130 100644 --- a/source_commit +++ b/source_commit @@ -1 +1 @@ -a042760c134954f1cb28fcd86d870fdcbe0901b2 +9c3a8787effba4b984c871955634307d2e2ec00c