@cloudflare/workers-types 5.20261116.1 → 5.20261117.1
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/experimental/index.d.ts +6 -0
- package/experimental/index.ts +6 -0
- package/index.d.ts +6 -0
- package/index.ts +6 -0
- package/package.json +1 -1
package/experimental/index.d.ts
CHANGED
|
@@ -3570,6 +3570,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3570
3570
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
|
|
3571
3571
|
*/
|
|
3572
3572
|
readyState: number;
|
|
3573
|
+
/**
|
|
3574
|
+
* The **`WebSocket.bufferedAmount`** read-only property returns the number of bytes of data that have been queued using calls to send() but not yet transmitted to the network. This value resets to zero once all queued data has been sent. This value does not reset to zero when the connection is closed; if you keep calling send(), this will continue to climb.
|
|
3575
|
+
*
|
|
3576
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/bufferedAmount)
|
|
3577
|
+
*/
|
|
3578
|
+
bufferedAmount: number;
|
|
3573
3579
|
/**
|
|
3574
3580
|
* The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
|
|
3575
3581
|
*
|
package/experimental/index.ts
CHANGED
|
@@ -3576,6 +3576,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3576
3576
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
|
|
3577
3577
|
*/
|
|
3578
3578
|
readyState: number;
|
|
3579
|
+
/**
|
|
3580
|
+
* The **`WebSocket.bufferedAmount`** read-only property returns the number of bytes of data that have been queued using calls to send() but not yet transmitted to the network. This value resets to zero once all queued data has been sent. This value does not reset to zero when the connection is closed; if you keep calling send(), this will continue to climb.
|
|
3581
|
+
*
|
|
3582
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/bufferedAmount)
|
|
3583
|
+
*/
|
|
3584
|
+
bufferedAmount: number;
|
|
3579
3585
|
/**
|
|
3580
3586
|
* The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
|
|
3581
3587
|
*
|
package/index.d.ts
CHANGED
|
@@ -3409,6 +3409,12 @@ interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3409
3409
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
|
|
3410
3410
|
*/
|
|
3411
3411
|
readyState: number;
|
|
3412
|
+
/**
|
|
3413
|
+
* The **`WebSocket.bufferedAmount`** read-only property returns the number of bytes of data that have been queued using calls to send() but not yet transmitted to the network. This value resets to zero once all queued data has been sent. This value does not reset to zero when the connection is closed; if you keep calling send(), this will continue to climb.
|
|
3414
|
+
*
|
|
3415
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/bufferedAmount)
|
|
3416
|
+
*/
|
|
3417
|
+
bufferedAmount: number;
|
|
3412
3418
|
/**
|
|
3413
3419
|
* The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
|
|
3414
3420
|
*
|
package/index.ts
CHANGED
|
@@ -3418,6 +3418,12 @@ export interface WebSocket extends EventTarget<WebSocketEventMap> {
|
|
|
3418
3418
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/readyState)
|
|
3419
3419
|
*/
|
|
3420
3420
|
readyState: number;
|
|
3421
|
+
/**
|
|
3422
|
+
* The **`WebSocket.bufferedAmount`** read-only property returns the number of bytes of data that have been queued using calls to send() but not yet transmitted to the network. This value resets to zero once all queued data has been sent. This value does not reset to zero when the connection is closed; if you keep calling send(), this will continue to climb.
|
|
3423
|
+
*
|
|
3424
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/WebSocket/bufferedAmount)
|
|
3425
|
+
*/
|
|
3426
|
+
bufferedAmount: number;
|
|
3421
3427
|
/**
|
|
3422
3428
|
* The **`WebSocket.url`** read-only property returns the absolute URL of the WebSocket as resolved by the constructor.
|
|
3423
3429
|
*
|
package/package.json
CHANGED