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

x/cav/http.ts>requestData

A server framework for Deno
Go to Latest
function requestData
import { requestData } from "https://deno.land/x/cav@0.0.8/http.ts";

Generates or returns a previously generated RequestData for a given request. If this is the first time requestData is being called for the given request, the RequestData object is generated and returned. Every other time the request passes through this function, the same object generated on the first call is returned without further modification.