MutkaMutka

NetResponse

Reference — NetResponse in the Mutka module API.

Interface: NetResponse

Defined in: sandbox/protocol/protocol.ts:379

What host.net.request resolves to.

Properties

body

body: string;

Defined in: sandbox/protocol/protocol.ts:383

Body decoded as UTF-8 text (JSON/XML/text APIs).


bytes

bytes: Uint8Array;

Defined in: sandbox/protocol/protocol.ts:385

Body as raw bytes (binary downloads).


headers

headers: Record<string, string>;

Defined in: sandbox/protocol/protocol.ts:381


status

status: number;

Defined in: sandbox/protocol/protocol.ts:380

On this page