interface InjectRequest
Since 0.1.0

Inject request shape for IKernelApplication.inject.

Properties

method: string

HTTP method.

url: string

Full request URL.

optional
headers: Record<string, string> | Headers

Request headers.

optional
body: unknown

Request body (will be stringified if not a string).

Usage

import { type InjectRequest } from "testing/src/index.ts";