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 Headersok booleanstatus numberstatusText stringurl stringbody TBody