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