@types/serviceworker 0.0.205 → 0.0.206
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.
- package/README.md +1 -1
- package/index.d.ts +40 -1
- package/package.json +1 -1
- package/ts5.5/index.d.ts +40 -1
- package/ts5.6/index.d.ts +40 -1
- package/ts5.9/index.d.ts +40 -1
package/README.md
CHANGED
|
@@ -30,4 +30,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
30
30
|
|
|
31
31
|
## Deploy Metadata
|
|
32
32
|
|
|
33
|
-
You can read what changed in version 0.0.
|
|
33
|
+
You can read what changed in version 0.0.206 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.206.
|
package/index.d.ts
CHANGED
|
@@ -1294,6 +1294,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
1296
1296
|
interface WebTransportSendOptions {
|
|
1297
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1297
1298
|
sendOrder?: number;
|
|
1298
1299
|
}
|
|
1299
1300
|
|
|
@@ -12402,6 +12403,7 @@ interface WebTransport {
|
|
|
12402
12403
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12403
12404
|
*/
|
|
12404
12405
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12406
|
+
readonly draining: Promise<void>;
|
|
12405
12407
|
/**
|
|
12406
12408
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12407
12409
|
*
|
|
@@ -12439,6 +12441,8 @@ interface WebTransport {
|
|
|
12439
12441
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12440
12442
|
*/
|
|
12441
12443
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12444
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12445
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12442
12446
|
/**
|
|
12443
12447
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12444
12448
|
*
|
|
@@ -12533,6 +12537,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12533
12537
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12534
12538
|
*/
|
|
12535
12539
|
readonly writable: WritableStream;
|
|
12540
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12541
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12536
12542
|
}
|
|
12537
12543
|
|
|
12538
12544
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12540,6 +12546,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12540
12546
|
new(): WebTransportDatagramDuplexStream;
|
|
12541
12547
|
};
|
|
12542
12548
|
|
|
12549
|
+
/**
|
|
12550
|
+
* Available only in secure contexts.
|
|
12551
|
+
*
|
|
12552
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12553
|
+
*/
|
|
12554
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12555
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12556
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12557
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12558
|
+
sendOrder: number;
|
|
12559
|
+
}
|
|
12560
|
+
|
|
12561
|
+
declare var WebTransportDatagramsWritable: {
|
|
12562
|
+
prototype: WebTransportDatagramsWritable;
|
|
12563
|
+
new(): WebTransportDatagramsWritable;
|
|
12564
|
+
};
|
|
12565
|
+
|
|
12543
12566
|
/**
|
|
12544
12567
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12545
12568
|
* Available only in secure contexts.
|
|
@@ -12586,6 +12609,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12586
12609
|
new(): WebTransportReceiveStream;
|
|
12587
12610
|
};
|
|
12588
12611
|
|
|
12612
|
+
/**
|
|
12613
|
+
* Available only in secure contexts.
|
|
12614
|
+
*
|
|
12615
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12616
|
+
*/
|
|
12617
|
+
interface WebTransportSendGroup {
|
|
12618
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12619
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12620
|
+
}
|
|
12621
|
+
|
|
12622
|
+
declare var WebTransportSendGroup: {
|
|
12623
|
+
prototype: WebTransportSendGroup;
|
|
12624
|
+
new(): WebTransportSendGroup;
|
|
12625
|
+
};
|
|
12626
|
+
|
|
12589
12627
|
/**
|
|
12590
12628
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12591
12629
|
* Available only in secure contexts.
|
|
@@ -12593,6 +12631,7 @@ declare var WebTransportReceiveStream: {
|
|
|
12593
12631
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12594
12632
|
*/
|
|
12595
12633
|
interface WebTransportSendStream extends WritableStream {
|
|
12634
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12596
12635
|
/**
|
|
12597
12636
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12598
12637
|
*
|
|
@@ -13724,7 +13763,7 @@ type RequestInfo = Request | string;
|
|
|
13724
13763
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13725
13764
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13726
13765
|
type TimerHandler = string | Function;
|
|
13727
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13766
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13728
13767
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13729
13768
|
type URLPatternInput = string | URLPatternInit;
|
|
13730
13769
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -1291,6 +1291,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
interface WebTransportSendOptions {
|
|
1294
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1294
1295
|
sendOrder?: number;
|
|
1295
1296
|
}
|
|
1296
1297
|
|
|
@@ -12399,6 +12400,7 @@ interface WebTransport {
|
|
|
12399
12400
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12400
12401
|
*/
|
|
12401
12402
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12403
|
+
readonly draining: Promise<void>;
|
|
12402
12404
|
/**
|
|
12403
12405
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12404
12406
|
*
|
|
@@ -12436,6 +12438,8 @@ interface WebTransport {
|
|
|
12436
12438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12437
12439
|
*/
|
|
12438
12440
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12441
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12442
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12439
12443
|
/**
|
|
12440
12444
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12441
12445
|
*
|
|
@@ -12530,6 +12534,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12530
12534
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12531
12535
|
*/
|
|
12532
12536
|
readonly writable: WritableStream;
|
|
12537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12538
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12533
12539
|
}
|
|
12534
12540
|
|
|
12535
12541
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12537,6 +12543,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12537
12543
|
new(): WebTransportDatagramDuplexStream;
|
|
12538
12544
|
};
|
|
12539
12545
|
|
|
12546
|
+
/**
|
|
12547
|
+
* Available only in secure contexts.
|
|
12548
|
+
*
|
|
12549
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12550
|
+
*/
|
|
12551
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12553
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12555
|
+
sendOrder: number;
|
|
12556
|
+
}
|
|
12557
|
+
|
|
12558
|
+
declare var WebTransportDatagramsWritable: {
|
|
12559
|
+
prototype: WebTransportDatagramsWritable;
|
|
12560
|
+
new(): WebTransportDatagramsWritable;
|
|
12561
|
+
};
|
|
12562
|
+
|
|
12540
12563
|
/**
|
|
12541
12564
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12542
12565
|
* Available only in secure contexts.
|
|
@@ -12583,6 +12606,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12583
12606
|
new(): WebTransportReceiveStream;
|
|
12584
12607
|
};
|
|
12585
12608
|
|
|
12609
|
+
/**
|
|
12610
|
+
* Available only in secure contexts.
|
|
12611
|
+
*
|
|
12612
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12613
|
+
*/
|
|
12614
|
+
interface WebTransportSendGroup {
|
|
12615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12616
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12617
|
+
}
|
|
12618
|
+
|
|
12619
|
+
declare var WebTransportSendGroup: {
|
|
12620
|
+
prototype: WebTransportSendGroup;
|
|
12621
|
+
new(): WebTransportSendGroup;
|
|
12622
|
+
};
|
|
12623
|
+
|
|
12586
12624
|
/**
|
|
12587
12625
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12588
12626
|
* Available only in secure contexts.
|
|
@@ -12590,6 +12628,7 @@ declare var WebTransportReceiveStream: {
|
|
|
12590
12628
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12591
12629
|
*/
|
|
12592
12630
|
interface WebTransportSendStream extends WritableStream {
|
|
12631
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12593
12632
|
/**
|
|
12594
12633
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12595
12634
|
*
|
|
@@ -13721,7 +13760,7 @@ type RequestInfo = Request | string;
|
|
|
13721
13760
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13722
13761
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13723
13762
|
type TimerHandler = string | Function;
|
|
13724
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13763
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13725
13764
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13726
13765
|
type URLPatternInput = string | URLPatternInit;
|
|
13727
13766
|
type Uint32List = Uint32Array | GLuint[];
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -1291,6 +1291,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
interface WebTransportSendOptions {
|
|
1294
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1294
1295
|
sendOrder?: number;
|
|
1295
1296
|
}
|
|
1296
1297
|
|
|
@@ -12399,6 +12400,7 @@ interface WebTransport {
|
|
|
12399
12400
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12400
12401
|
*/
|
|
12401
12402
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12403
|
+
readonly draining: Promise<void>;
|
|
12402
12404
|
/**
|
|
12403
12405
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12404
12406
|
*
|
|
@@ -12436,6 +12438,8 @@ interface WebTransport {
|
|
|
12436
12438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12437
12439
|
*/
|
|
12438
12440
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12441
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12442
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12439
12443
|
/**
|
|
12440
12444
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12441
12445
|
*
|
|
@@ -12530,6 +12534,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12530
12534
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12531
12535
|
*/
|
|
12532
12536
|
readonly writable: WritableStream;
|
|
12537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12538
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12533
12539
|
}
|
|
12534
12540
|
|
|
12535
12541
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12537,6 +12543,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12537
12543
|
new(): WebTransportDatagramDuplexStream;
|
|
12538
12544
|
};
|
|
12539
12545
|
|
|
12546
|
+
/**
|
|
12547
|
+
* Available only in secure contexts.
|
|
12548
|
+
*
|
|
12549
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12550
|
+
*/
|
|
12551
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12553
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12555
|
+
sendOrder: number;
|
|
12556
|
+
}
|
|
12557
|
+
|
|
12558
|
+
declare var WebTransportDatagramsWritable: {
|
|
12559
|
+
prototype: WebTransportDatagramsWritable;
|
|
12560
|
+
new(): WebTransportDatagramsWritable;
|
|
12561
|
+
};
|
|
12562
|
+
|
|
12540
12563
|
/**
|
|
12541
12564
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12542
12565
|
* Available only in secure contexts.
|
|
@@ -12583,6 +12606,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12583
12606
|
new(): WebTransportReceiveStream;
|
|
12584
12607
|
};
|
|
12585
12608
|
|
|
12609
|
+
/**
|
|
12610
|
+
* Available only in secure contexts.
|
|
12611
|
+
*
|
|
12612
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12613
|
+
*/
|
|
12614
|
+
interface WebTransportSendGroup {
|
|
12615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12616
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12617
|
+
}
|
|
12618
|
+
|
|
12619
|
+
declare var WebTransportSendGroup: {
|
|
12620
|
+
prototype: WebTransportSendGroup;
|
|
12621
|
+
new(): WebTransportSendGroup;
|
|
12622
|
+
};
|
|
12623
|
+
|
|
12586
12624
|
/**
|
|
12587
12625
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12588
12626
|
* Available only in secure contexts.
|
|
@@ -12590,6 +12628,7 @@ declare var WebTransportReceiveStream: {
|
|
|
12590
12628
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12591
12629
|
*/
|
|
12592
12630
|
interface WebTransportSendStream extends WritableStream {
|
|
12631
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12593
12632
|
/**
|
|
12594
12633
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12595
12634
|
*
|
|
@@ -13721,7 +13760,7 @@ type RequestInfo = Request | string;
|
|
|
13721
13760
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13722
13761
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13723
13762
|
type TimerHandler = string | Function;
|
|
13724
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13763
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13725
13764
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13726
13765
|
type URLPatternInput = string | URLPatternInit;
|
|
13727
13766
|
type Uint32List = Uint32Array | GLuint[];
|
package/ts5.9/index.d.ts
CHANGED
|
@@ -1291,6 +1291,7 @@ interface WebTransportReceiveStreamStats {
|
|
|
1291
1291
|
}
|
|
1292
1292
|
|
|
1293
1293
|
interface WebTransportSendOptions {
|
|
1294
|
+
sendGroup?: WebTransportSendGroup | null;
|
|
1294
1295
|
sendOrder?: number;
|
|
1295
1296
|
}
|
|
1296
1297
|
|
|
@@ -12399,6 +12400,7 @@ interface WebTransport {
|
|
|
12399
12400
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/datagrams)
|
|
12400
12401
|
*/
|
|
12401
12402
|
readonly datagrams: WebTransportDatagramDuplexStream;
|
|
12403
|
+
readonly draining: Promise<void>;
|
|
12402
12404
|
/**
|
|
12403
12405
|
* The **`incomingBidirectionalStreams`** read-only property of the WebTransport interface represents one or more bidirectional streams opened by the server. Returns a ReadableStream of WebTransportBidirectionalStream objects. Each one can be used to reliably read data from the server and write data back to it.
|
|
12404
12406
|
*
|
|
@@ -12436,6 +12438,8 @@ interface WebTransport {
|
|
|
12436
12438
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createBidirectionalStream)
|
|
12437
12439
|
*/
|
|
12438
12440
|
createBidirectionalStream(options?: WebTransportSendStreamOptions): Promise<WebTransportBidirectionalStream>;
|
|
12441
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransport/createSendGroup) */
|
|
12442
|
+
createSendGroup(): WebTransportSendGroup;
|
|
12439
12443
|
/**
|
|
12440
12444
|
* The **`createUnidirectionalStream()`** method of the WebTransport interface asynchronously opens a unidirectional stream.
|
|
12441
12445
|
*
|
|
@@ -12530,6 +12534,8 @@ interface WebTransportDatagramDuplexStream {
|
|
|
12530
12534
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/writable)
|
|
12531
12535
|
*/
|
|
12532
12536
|
readonly writable: WritableStream;
|
|
12537
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramDuplexStream/createWritable) */
|
|
12538
|
+
createWritable(options?: WebTransportSendOptions): WebTransportDatagramsWritable;
|
|
12533
12539
|
}
|
|
12534
12540
|
|
|
12535
12541
|
declare var WebTransportDatagramDuplexStream: {
|
|
@@ -12537,6 +12543,23 @@ declare var WebTransportDatagramDuplexStream: {
|
|
|
12537
12543
|
new(): WebTransportDatagramDuplexStream;
|
|
12538
12544
|
};
|
|
12539
12545
|
|
|
12546
|
+
/**
|
|
12547
|
+
* Available only in secure contexts.
|
|
12548
|
+
*
|
|
12549
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable)
|
|
12550
|
+
*/
|
|
12551
|
+
interface WebTransportDatagramsWritable extends WritableStream {
|
|
12552
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendGroup) */
|
|
12553
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12554
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportDatagramsWritable/sendOrder) */
|
|
12555
|
+
sendOrder: number;
|
|
12556
|
+
}
|
|
12557
|
+
|
|
12558
|
+
declare var WebTransportDatagramsWritable: {
|
|
12559
|
+
prototype: WebTransportDatagramsWritable;
|
|
12560
|
+
new(): WebTransportDatagramsWritable;
|
|
12561
|
+
};
|
|
12562
|
+
|
|
12540
12563
|
/**
|
|
12541
12564
|
* The **`WebTransportError`** interface of the WebTransport API represents an error related to the API, which can arise from server errors, network connection problems, or client-initiated abort operations (for example, arising from a WritableStream.abort() call).
|
|
12542
12565
|
* Available only in secure contexts.
|
|
@@ -12583,6 +12606,21 @@ declare var WebTransportReceiveStream: {
|
|
|
12583
12606
|
new(): WebTransportReceiveStream;
|
|
12584
12607
|
};
|
|
12585
12608
|
|
|
12609
|
+
/**
|
|
12610
|
+
* Available only in secure contexts.
|
|
12611
|
+
*
|
|
12612
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup)
|
|
12613
|
+
*/
|
|
12614
|
+
interface WebTransportSendGroup {
|
|
12615
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendGroup/getStats) */
|
|
12616
|
+
getStats(): Promise<WebTransportSendStreamStats>;
|
|
12617
|
+
}
|
|
12618
|
+
|
|
12619
|
+
declare var WebTransportSendGroup: {
|
|
12620
|
+
prototype: WebTransportSendGroup;
|
|
12621
|
+
new(): WebTransportSendGroup;
|
|
12622
|
+
};
|
|
12623
|
+
|
|
12586
12624
|
/**
|
|
12587
12625
|
* The **`WebTransportSendStream`** interface of the WebTransport API is a specialized WritableStream that is used to send outbound data in both unidirectional or bidirectional WebTransport streams.
|
|
12588
12626
|
* Available only in secure contexts.
|
|
@@ -12590,6 +12628,7 @@ declare var WebTransportReceiveStream: {
|
|
|
12590
12628
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebTransportSendStream)
|
|
12591
12629
|
*/
|
|
12592
12630
|
interface WebTransportSendStream extends WritableStream {
|
|
12631
|
+
sendGroup: WebTransportSendGroup | null;
|
|
12593
12632
|
/**
|
|
12594
12633
|
* The **`sendOrder`** property of the WebTransportSendStream interface indicates the send priority of this stream relative to other streams for which the value has been set.
|
|
12595
12634
|
*
|
|
@@ -13721,7 +13760,7 @@ type RequestInfo = Request | string;
|
|
|
13721
13760
|
type RouterSource = RouterSourceDict | RouterSourceEnum;
|
|
13722
13761
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
13723
13762
|
type TimerHandler = string | Function;
|
|
13724
|
-
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
13763
|
+
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | WebTransportDatagramsWritable | ArrayBuffer;
|
|
13725
13764
|
type URLPatternCompatible = string | URLPatternInit | URLPattern;
|
|
13726
13765
|
type URLPatternInput = string | URLPatternInit;
|
|
13727
13766
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|