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

x/ayonli_jsext/http/internal.ts>createRequestContext

A JavaScript extension package for building strong and modern applications.
Latest
function createRequestContext
import { createRequestContext } from "https://deno.land/x/ayonli_jsext@v0.9.72/http/internal.ts";

Creates a request context object from the given request and properties.

Parameters

request: Request
props: Pick<RequestContext,
| "remoteAddress"
| "waitUntil"
| "bindings"
| "time"
| "timeEnd"
> & { ws: WebSocketServer; }