return $this->info
['http_code'
];
} public function getHeaders(bool
$throw = true
): array
{ if ($this->initializer
) { self::
initialize($this);
} if ($throw) { $this->
checkStatusCode();
} return $this->headers;
} public function cancel(): void
{ $this->info
['canceled'
] = true;
$this->info
['error'
] = 'Response has been canceled.';
$this->
close();
}