Interface RawResult

The object returned by fetchRaw requests

interface RawResult {
    body: any;
    dataTimestamp: number;
    headers: any;
    receivedAt: number;
    requestedAt: number;
    respondedAt: number;
    status: number;
}

Properties

body: any

The response body

dataTimestamp: number

The timestamp the data was created at. This timestamp is measured using the API server's clock.

headers: any

The response headers

receivedAt: number

The timestamp the response was received at. This timestamp is measured using the local clock.

requestedAt: number

The timestamp the request was cast at. This timestamp is measured using the local clock.

respondedAt: number

The timestamp the response was served. This timestamp is measured using the API server's clock.

status: number

The HTTP response status code

Generated using TypeDoc