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

x/harmony/test/deps.ts>Server#close

An easy to use Discord API Library for Deno.
Latest
method Server.prototype.close
import { Server } from "https://deno.land/x/harmony@v2.9.1/test/deps.ts";

Immediately close the server listeners and associated HTTP connections.

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