Files
browser-automation-botGitHubrelease-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
4d7b677d1d chore: release main (#15201)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2026-07-27 14:29:23 +02:00

1.1 KiB

sidebar_label
sidebar_label
ResponseForRequest

ResponseForRequest interface

Required response data to fulfill a request with.

Signature

export interface ResponseForRequest

Properties

Property

Modifiers

Type

Description

Default

body

string | Uint8Array

contentType

string

headers

Record<string, string | string[] | unknown>

Optional response headers.

The record values will be converted to string following: Arrays' values will be mapped to String (Used when you need multiple headers with the same name). Non-arrays will be converted to String.

status

number