data class Response
(source)
HTTP response data.
Response(url: String, status: Int, statusText: String, headers: Headers, headersText: String? = null, mimeType: String, requestHeaders: Headers? = null, requestHeadersText: String? = null, connectionReused: Boolean, connectionId: Double, remoteIPAddress: String? = null, remotePort: Int? = null, fromDiskCache: Boolean? = null, fromServiceWorker: Boolean? = null, fromPrefetchCache: Boolean? = null, encodedDataLength: Double, timing: ResourceTiming? = null, protocol: String? = null, securityState: SecurityState, securityDetails: SecurityDetails? = null)
HTTP response data. |
val connectionId: Double
Physical connection id that was actually used for this request. |
|
val connectionReused: Boolean
Specifies whether physical connection was actually reused for this request. |
|
val encodedDataLength: Double
Total number of bytes received for this request so far. |
|
val fromDiskCache: Boolean?
Specifies that the request was served from the disk cache. |
|
val fromPrefetchCache: Boolean?
Specifies that the request was served from the prefetch cache. |
|
val fromServiceWorker: Boolean?
Specifies that the request was served from the ServiceWorker. |
|
val headers: Headers
HTTP response headers. |
|
val headersText: String?
HTTP response headers text. |
|
val mimeType: String
Resource mimeType as determined by the browser. |
|
val protocol: String?
Protocol used to fetch this request. |
|
val remoteIPAddress: String?
Remote IP address. |
|
val remotePort: Int?
Remote port. |
|
val requestHeaders: Headers?
Refined HTTP request headers that were actually transmitted over the network. |
|
val requestHeadersText: String?
HTTP request headers text. |
|
val securityDetails: SecurityDetails?
Security details for the request. |
|
val securityState: SecurityState
Security state of the request resource. |
|
val status: Int
HTTP response status code. |
|
val statusText: String
HTTP response status text. |
|
val timing: ResourceTiming?
Timing information for the given request. |
|
val url: String
Response URL. This URL can be different from CachedResource.url in case of redirect. |