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

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

The Web Framework for Full Stack Apps
Go to Latest
method Server.prototype.close
import { Server } from "https://deno.land/x/fastro@v0.78.0/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.