devtools-protocol 0.0.1233758 → 0.0.1234845
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14120,6 +14120,25 @@
|
|
14120
14120
|
}
|
14121
14121
|
]
|
14122
14122
|
},
|
14123
|
+
{
|
14124
|
+
"name": "streamResourceContent",
|
14125
|
+
"description": "Enables streaming of the response for the given requestId.\nIf enabled, the dataReceived event contains the data that was received during streaming.",
|
14126
|
+
"experimental": true,
|
14127
|
+
"parameters": [
|
14128
|
+
{
|
14129
|
+
"name": "requestId",
|
14130
|
+
"description": "Identifier of the request to stream.",
|
14131
|
+
"$ref": "RequestId"
|
14132
|
+
}
|
14133
|
+
],
|
14134
|
+
"returns": [
|
14135
|
+
{
|
14136
|
+
"name": "bufferedData",
|
14137
|
+
"description": "Data that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)",
|
14138
|
+
"type": "string"
|
14139
|
+
}
|
14140
|
+
]
|
14141
|
+
},
|
14123
14142
|
{
|
14124
14143
|
"name": "getSecurityIsolationStatus",
|
14125
14144
|
"description": "Returns information about the COEP/COOP isolation status.",
|
@@ -14205,6 +14224,13 @@
|
|
14205
14224
|
"name": "encodedDataLength",
|
14206
14225
|
"description": "Actual bytes received (might be less than dataLength for compressed encodings).",
|
14207
14226
|
"type": "integer"
|
14227
|
+
},
|
14228
|
+
{
|
14229
|
+
"name": "data",
|
14230
|
+
"description": "Data that was received. (Encoded as a base64 string when passed over JSON)",
|
14231
|
+
"experimental": true,
|
14232
|
+
"optional": true,
|
14233
|
+
"type": "string"
|
14208
14234
|
}
|
14209
14235
|
]
|
14210
14236
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -6465,6 +6465,18 @@ domain Network
|
|
6465
6465
|
integer dataLength
|
6466
6466
|
# Actual bytes received (might be less than dataLength for compressed encodings).
|
6467
6467
|
integer encodedDataLength
|
6468
|
+
# Data that was received.
|
6469
|
+
experimental optional binary data
|
6470
|
+
|
6471
|
+
# Enables streaming of the response for the given requestId.
|
6472
|
+
# If enabled, the dataReceived event contains the data that was received during streaming.
|
6473
|
+
experimental command streamResourceContent
|
6474
|
+
parameters
|
6475
|
+
# Identifier of the request to stream.
|
6476
|
+
RequestId requestId
|
6477
|
+
returns
|
6478
|
+
# Data that has been buffered until streaming is enabled.
|
6479
|
+
binary bufferedData
|
6468
6480
|
|
6469
6481
|
# Fired when EventSource message is received.
|
6470
6482
|
event eventSourceMessageReceived
|
@@ -3352,6 +3352,14 @@ export namespace ProtocolMapping {
|
|
3352
3352
|
paramsType: [Protocol.Network.SetUserAgentOverrideRequest];
|
3353
3353
|
returnType: void;
|
3354
3354
|
};
|
3355
|
+
/**
|
3356
|
+
* Enables streaming of the response for the given requestId.
|
3357
|
+
* If enabled, the dataReceived event contains the data that was received during streaming.
|
3358
|
+
*/
|
3359
|
+
'Network.streamResourceContent': {
|
3360
|
+
paramsType: [Protocol.Network.StreamResourceContentRequest];
|
3361
|
+
returnType: Protocol.Network.StreamResourceContentResponse;
|
3362
|
+
};
|
3355
3363
|
/**
|
3356
3364
|
* Returns information about the COEP/COOP isolation status.
|
3357
3365
|
*/
|
@@ -2399,6 +2399,12 @@ export namespace ProtocolProxyApi {
|
|
2399
2399
|
*/
|
2400
2400
|
setUserAgentOverride(params: Protocol.Network.SetUserAgentOverrideRequest): Promise<void>;
|
2401
2401
|
|
2402
|
+
/**
|
2403
|
+
* Enables streaming of the response for the given requestId.
|
2404
|
+
* If enabled, the dataReceived event contains the data that was received during streaming.
|
2405
|
+
*/
|
2406
|
+
streamResourceContent(params: Protocol.Network.StreamResourceContentRequest): Promise<Protocol.Network.StreamResourceContentResponse>;
|
2407
|
+
|
2402
2408
|
/**
|
2403
2409
|
* Returns information about the COEP/COOP isolation status.
|
2404
2410
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -11395,6 +11395,20 @@ export namespace Protocol {
|
|
11395
11395
|
userAgentMetadata?: Emulation.UserAgentMetadata;
|
11396
11396
|
}
|
11397
11397
|
|
11398
|
+
export interface StreamResourceContentRequest {
|
11399
|
+
/**
|
11400
|
+
* Identifier of the request to stream.
|
11401
|
+
*/
|
11402
|
+
requestId: RequestId;
|
11403
|
+
}
|
11404
|
+
|
11405
|
+
export interface StreamResourceContentResponse {
|
11406
|
+
/**
|
11407
|
+
* Data that has been buffered until streaming is enabled. (Encoded as a base64 string when passed over JSON)
|
11408
|
+
*/
|
11409
|
+
bufferedData: string;
|
11410
|
+
}
|
11411
|
+
|
11398
11412
|
export interface GetSecurityIsolationStatusRequest {
|
11399
11413
|
/**
|
11400
11414
|
* If no frameId is provided, the status of the target is provided.
|
@@ -11453,6 +11467,10 @@ export namespace Protocol {
|
|
11453
11467
|
* Actual bytes received (might be less than dataLength for compressed encodings).
|
11454
11468
|
*/
|
11455
11469
|
encodedDataLength: integer;
|
11470
|
+
/**
|
11471
|
+
* Data that was received. (Encoded as a base64 string when passed over JSON)
|
11472
|
+
*/
|
11473
|
+
data?: string;
|
11456
11474
|
}
|
11457
11475
|
|
11458
11476
|
/**
|