Skip to main content
Module

x/cav/mod.ts>requestContext

A server framework for Deno
Go to Latest
function requestContext
Re-export
import { requestContext } from "https://deno.land/x/cav@0.0.21/mod.ts";

Generates or returns a previously generated RequestContext for a given request. If this is the first time requestContext is being called for the given request, the RequestContext 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.