Skip to main content
Module

std/http/_mock_conn.ts>mockConn

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function mockConn
import { mockConn } from "https://deno.land/std@0.146.0/http/_mock_conn.ts";

Create dummy Deno.Conn object with given base properties.

Parameters

optional
base: Partial<Deno.Conn> = [UNSUPPORTED]