Skip to main content
Module

x/superdeno/deps.ts>Server#close

Super-agent driven library for testing Deno HTTP servers.
Go to Latest
method Server.prototype.close
import { Server } from "https://deno.land/x/superdeno@4.8.0/deps.ts";

Immediately close the server listeners and associated HTTP connections.

Throws a server closed error if called after the server has been closed.