Browse documentation

ResponseContext

Type. Successful response plugin input.

Table of contents

Category

Type

Type import

ts
import type { ResponseContext } from "valyrian.js/request";

Public signature

ts
interface ResponseContext extends RequestContext { response: Response; body: unknown; }

Type usage

ResponseContext adds the successful Response and parsed body to the originating request context.