Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cav/test/deps.ts>http.Server#close

A server framework for Deno
Go to Latest
method http.Server.prototype.close
import { http } from "https://deno.land/x/cav@0.2.0-alpha.7/test/deps.ts";
const { Server } = http;

Immediately close the server listeners and associated HTTP connections.

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