Skip to main content
Module

x/pagic/deps.ts>server.Server#close

A static site generator powered by Deno + React
Go to Latest
method server.Server.prototype.close
import { server } from "https://deno.land/x/pagic@v1.5.1/deps.ts";
const { Server } = server;

Immediately close the server listeners and associated HTTP connections.

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