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

x/live/utils/invoke.ts>invokeToHttpResponse

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
variable invokeToHttpResponse
import { invokeToHttpResponse } from "https://deno.land/x/live@1.57.22/utils/invoke.ts";

Converts an invoke result to a valid http response based on the return type

type

(req: Request, invokeResponse: unknown) => Response