docs: responseHeaders should be Record<string, string[]> (#21730)
This commit is contained in:
parent
702d18b2e3
commit
c0bde4baa4
1 changed files with 4 additions and 4 deletions
|
@ -146,7 +146,7 @@ response are visible by the time this listener is fired.
|
||||||
* `timestamp` Double
|
* `timestamp` Double
|
||||||
* `statusLine` String
|
* `statusLine` String
|
||||||
* `statusCode` Integer
|
* `statusCode` Integer
|
||||||
* `responseHeaders` Record<string, string> (optional)
|
* `responseHeaders` Record<string, string[]> (optional)
|
||||||
* `callback` Function
|
* `callback` Function
|
||||||
* `headersReceivedResponse` Object
|
* `headersReceivedResponse` Object
|
||||||
* `cancel` Boolean (optional)
|
* `cancel` Boolean (optional)
|
||||||
|
@ -175,7 +175,7 @@ The `callback` has to be called with a `response` object.
|
||||||
* `resourceType` String
|
* `resourceType` String
|
||||||
* `referrer` String
|
* `referrer` String
|
||||||
* `timestamp` Double
|
* `timestamp` Double
|
||||||
* `responseHeaders` Record<string, string> (optional)
|
* `responseHeaders` Record<string, string[]> (optional)
|
||||||
* `fromCache` Boolean - Indicates whether the response was fetched from disk
|
* `fromCache` Boolean - Indicates whether the response was fetched from disk
|
||||||
cache.
|
cache.
|
||||||
* `statusCode` Integer
|
* `statusCode` Integer
|
||||||
|
@ -205,7 +205,7 @@ and response headers are available.
|
||||||
* `ip` String (optional) - The server IP address that the request was
|
* `ip` String (optional) - The server IP address that the request was
|
||||||
actually sent to.
|
actually sent to.
|
||||||
* `fromCache` Boolean
|
* `fromCache` Boolean
|
||||||
* `responseHeaders` Record<string, string> (optional)
|
* `responseHeaders` Record<string, string[]> (optional)
|
||||||
|
|
||||||
The `listener` will be called with `listener(details)` when a server initiated
|
The `listener` will be called with `listener(details)` when a server initiated
|
||||||
redirect is about to occur.
|
redirect is about to occur.
|
||||||
|
@ -224,7 +224,7 @@ redirect is about to occur.
|
||||||
* `resourceType` String
|
* `resourceType` String
|
||||||
* `referrer` String
|
* `referrer` String
|
||||||
* `timestamp` Double
|
* `timestamp` Double
|
||||||
* `responseHeaders` Record<string, string> (optional)
|
* `responseHeaders` Record<string, string[]> (optional)
|
||||||
* `fromCache` Boolean
|
* `fromCache` Boolean
|
||||||
* `statusCode` Integer
|
* `statusCode` Integer
|
||||||
* `statusLine` String
|
* `statusLine` String
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue