Constructor for the Response class. Initializes the properties of the class with the values from the provided response object.
The response object from which to initialize the class properties.
Readonly
headersReadonly
okPrivate
Readonly
responseThe response object from which to initialize the class properties.
Readonly
statusReadonly
urlReturns the cookies from the response as an object with key-value pairs.
An object containing cookies as key-value pairs.
Response class represents the HTTP response received from a server. It provides methods to access various properties of the response.