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

x/reno/reno/builtins.ts>streamResponse

A thin, testable routing library designed to sit on top of Deno's standard HTTP module
Latest
function streamResponse
import { streamResponse } from "https://deno.land/x/reno@v2.0.105/reno/builtins.ts";

A response creator function for building stream responses. This one currently doesn't do anything special, but it at least saves the effort of having to create response objects manually, and in the future may contain some sort of enhancing behaviour

Parameters

body: Deno.Reader
optional
headers = [UNSUPPORTED]