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.Response#upgrade

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

Upgrade the response.

Parameters

response: Response
  • The upgraded response (e.g. a WebSocket connection response via Deno.upgradeWebSocket()).