Type Alias HeaderInfo

HeaderInfo: { result?: { code: number; reason: string; version: string } } & {
    "Set-Cookie"?: string[];
} & { [headerKey: string]: string }

Whe data parsing is enabled on the "Curl".Curl instance, the headers parameter passed to the end event's callback will be one array of this type.