Skip to main content

shutdown

method Deno.HttpServer.shutdown
Jump to headingHttpServer.shutdown(): Promise<void>

Gracefully close the server. No more new connections will be accepted, while pending requests will be allowed to finish.

Return Type Jump to heading

Promise<void>
Back to top