Skip to main content

PHPResponseData

Implemented by

Index

Properties

readonlybytes

bytes: ArrayBuffer

Response body. Contains the output from echo, print, inline HTML etc.

readonlyerrors

errors: string

Stderr contents, if any.

readonlyexitCode

exitCode: number

The exit code of the script. 0 is a success, while 1 and 2 indicate an error.

readonlyheaders

headers: Record<string, string[]>

Response headers.

readonlyhttpStatusCode

httpStatusCode: number

Response HTTP status code, e.g. 200.