Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fastro/http/deps.ts>Server#close

Fast and simple web application framework for deno
Go to Latest
method Server.prototype.close
import { Server } from "https://deno.land/x/fastro@v0.77.3/http/deps.ts";

Immediately close the server listeners and associated HTTP connections.

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