struct Protocol::Network::Response
- Protocol::Network::Response
- Struct
- Value
- Object
Overview
HTTP response data.
Included Modules
- JSON::Serializable
Defined in:
protocol/network.crConstructors
Instance Method Summary
-
#alternate_protocol_usage : AlternateProtocolUsage | Nil
The reason why Chrome uses a specific transport protocol for HTTP semantics.
-
#cache_storage_cache_name : String | Nil
Cache Storage Cache Name.
-
#connection_id : Number::Primitive
Physical connection id that was actually used for this request.
-
#connection_reused : Bool
Specifies whether physical connection was actually reused for this request.
-
#encoded_data_length : Number::Primitive
Total number of bytes received for this request so far.
-
#from_disk_cache : Bool | Nil
Specifies that the request was served from the disk cache.
-
#from_prefetch_cache : Bool | Nil
Specifies that the request was served from the prefetch cache.
-
#from_service_worker : Bool | Nil
Specifies that the request was served from the ServiceWorker.
-
#headers : Headers
HTTP response headers.
-
#headers_text : String | Nil
HTTP response headers text.
-
#mime_type : String
Resource mimeType as determined by the browser.
-
#protocol : String | Nil
Protocol used to fetch this request.
-
#remote_ip_address : String | Nil
Remote IP address.
-
#remote_port : Int::Primitive | Nil
Remote port.
-
#request_headers : Headers | Nil
Refined HTTP request headers that were actually transmitted over the network.
-
#request_headers_text : String | Nil
HTTP request headers text.
-
#response_time : TimeSinceEpoch | Nil
The time at which the returned response was generated.
-
#security_details : SecurityDetails | Nil
Security details for the request.
-
#security_state : Security::SecurityState
Security state of the request resource.
-
#service_worker_response_source : ServiceWorkerResponseSource | Nil
Response source of response from ServiceWorker.
-
#status : Int::Primitive
HTTP response status code.
-
#status_text : String
HTTP response status text.
-
#timing : ResourceTiming | Nil
Timing information for the given request.
-
#url : String
Response URL.
Constructor Detail
Instance Method Detail
The reason why Chrome uses a specific transport protocol for HTTP semantics.
Physical connection id that was actually used for this request.
Specifies whether physical connection was actually reused for this request.
Total number of bytes received for this request so far.
Specifies that the request was served from the prefetch cache.
Specifies that the request was served from the ServiceWorker.
HTTP response headers text. This has been replaced by the headers in Network.responseReceivedExtraInfo.
Refined HTTP request headers that were actually transmitted over the network.
HTTP request headers text. This has been replaced by the headers in Network.requestWillBeSentExtraInfo.
Response source of response from ServiceWorker.
Response URL. This URL can be different from CachedResource.url in case of redirect.