Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BasicsContext

import type { BasicsContext } from "https://raw.githubusercontent.com/worker-tools/middleware/master/index.ts";
interface BasicsContext {
headers: Headers;
ip?: string;
method: Method;
params: {
[key: string]: string | undefined;
}
;
pathname: string;
request: Request;
searchParams: URLSearchParams;
url: URL;
userAgent: string;
}

§Properties

§
headers: Headers
[src]
§
ip?: string
[src]
§
params: {
[key: string]: string | undefined;
}
[src]
§
pathname: string
[src]
§
request: Request
[src]
§
searchParams: URLSearchParams
[src]
§
url: URL
[src]
§
userAgent: string
[src]