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

x/sinco/tests/deps.ts>Drash.Server

Browser Automation and Testing Tool for Deno, written in full TypeScript
Latest
class Drash.Server
Re-export
import { Drash } from "https://deno.land/x/sinco@v4.1.0/tests/deps.ts";
const { Server } = Drash;

This class handles the entire request-resource-response lifecycle. It is in charge of handling incoming requests, matching them to resources for further processing, and sending responses based on the processes set in the resource. It is also in charge of sending error responses that "bubble up" during the request-resource-response lifecycle.

Properties

readonly
address: string

Get the full address that this server is running on.

Methods

close(): Promise<void>

Close the server.

run()

Run the server.