Defjs
Core

DecodedResponse

Response metadata plus a body that decoded against a declared struct.

@defjs/core · Type

Signature

type DecodedResponse<TBody> = HttpMeta & { readonly body: TBody };

Holding this type is the proof that decoding happened; a failed decode is reported as a fault carrying HttpMeta alone.

Members

Prop

Type

headers Headers
ok boolean
status number
statusText string
url string
body TBody
Edit this page on GitHub
Released under the MIT License. · Copyright © 2026 MunMunMiao