Skip to content

nooschain v0.1.0


nooschain / net/http-json-client / HttpJsonResponse

Interface: HttpJsonResponse<T>

Defined in: net/http-json-client.ts:32

Parsed JSON response returned by requestJson.

Type Parameters

T

T

Properties

body

body: T

Defined in: net/http-json-client.ts:42

Parsed JSON body, or null for an empty body.


headers

headers: IncomingHttpHeaders

Defined in: net/http-json-client.ts:40

Raw response headers.


ok

ok: boolean

Defined in: net/http-json-client.ts:34

True for HTTP 2xx status codes.


status

status: number

Defined in: net/http-json-client.ts:36

Numeric HTTP status code, or 0 if unavailable.


statusText

statusText: string

Defined in: net/http-json-client.ts:38

HTTP status text.


text

text: string

Defined in: net/http-json-client.ts:44

Raw response text.

Audience-first NOOSChain documentation.