interface Response
implements Body
This Fetch API interface represents the response to a request.
Properties
readonly
headers: Headersreadonly
type: ResponseTypeThis Fetch API interface represents the response to a request.
type
{ readonly prototype: Response; new (body?: BodyInit | null, init?: ResponseInit): Response; json(data: unknown, init?: ResponseInit): Response; error(): Response; redirect(url: string | URL, status?: number): Response; }