Interface CurlyResult<ResultData>

Object the curly call resolves to.

interface CurlyResult<ResultData = any> {
    data: ResultData;
    headers: HeaderInfo[];
    statusCode: number;
}

Type Parameters

  • ResultData = any

Properties

Data will be the body of the requested URL

headers: HeaderInfo[]

Parsed headers

See HeaderInfo

statusCode: number

HTTP Status code for the last request