@rivetkit/engine-envoy-protocol 0.0.0-pr.4672.159c9b3 → 0.0.0-pr.4673.d7d209b
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/dist/index.d.ts +238 -45
- package/dist/index.js +685 -197
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -209,82 +209,6 @@ function writeKvDeleteRangeRequest(bc, x) {
|
|
|
209
209
|
writeKvKey(bc, x.start);
|
|
210
210
|
writeKvKey(bc, x.end);
|
|
211
211
|
}
|
|
212
|
-
function readSqliteFastPathFence(bc) {
|
|
213
|
-
return {
|
|
214
|
-
expectedFence: read2(bc),
|
|
215
|
-
requestFence: bare.readU64(bc)
|
|
216
|
-
};
|
|
217
|
-
}
|
|
218
|
-
function writeSqliteFastPathFence(bc, x) {
|
|
219
|
-
write2(bc, x.expectedFence);
|
|
220
|
-
bare.writeU64(bc, x.requestFence);
|
|
221
|
-
}
|
|
222
|
-
function readSqlitePageUpdate(bc) {
|
|
223
|
-
return {
|
|
224
|
-
chunkIndex: bare.readU32(bc),
|
|
225
|
-
data: readKvValue(bc)
|
|
226
|
-
};
|
|
227
|
-
}
|
|
228
|
-
function writeSqlitePageUpdate(bc, x) {
|
|
229
|
-
bare.writeU32(bc, x.chunkIndex);
|
|
230
|
-
writeKvValue(bc, x.data);
|
|
231
|
-
}
|
|
232
|
-
function read4(bc) {
|
|
233
|
-
const len = bare.readUintSafe(bc);
|
|
234
|
-
if (len === 0) {
|
|
235
|
-
return [];
|
|
236
|
-
}
|
|
237
|
-
const result = [readSqlitePageUpdate(bc)];
|
|
238
|
-
for (let i = 1; i < len; i++) {
|
|
239
|
-
result[i] = readSqlitePageUpdate(bc);
|
|
240
|
-
}
|
|
241
|
-
return result;
|
|
242
|
-
}
|
|
243
|
-
function write4(bc, x) {
|
|
244
|
-
bare.writeUintSafe(bc, x.length);
|
|
245
|
-
for (let i = 0; i < x.length; i++) {
|
|
246
|
-
writeSqlitePageUpdate(bc, x[i]);
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
function readKvSqliteWriteBatchRequest(bc) {
|
|
250
|
-
return {
|
|
251
|
-
fileTag: bare.readU8(bc),
|
|
252
|
-
metaValue: readKvValue(bc),
|
|
253
|
-
pageUpdates: read4(bc),
|
|
254
|
-
fence: readSqliteFastPathFence(bc)
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
function writeKvSqliteWriteBatchRequest(bc, x) {
|
|
258
|
-
bare.writeU8(bc, x.fileTag);
|
|
259
|
-
writeKvValue(bc, x.metaValue);
|
|
260
|
-
write4(bc, x.pageUpdates);
|
|
261
|
-
writeSqliteFastPathFence(bc, x.fence);
|
|
262
|
-
}
|
|
263
|
-
function read5(bc) {
|
|
264
|
-
return bare.readBool(bc) ? readSqlitePageUpdate(bc) : null;
|
|
265
|
-
}
|
|
266
|
-
function write5(bc, x) {
|
|
267
|
-
bare.writeBool(bc, x != null);
|
|
268
|
-
if (x != null) {
|
|
269
|
-
writeSqlitePageUpdate(bc, x);
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
function readKvSqliteTruncateRequest(bc) {
|
|
273
|
-
return {
|
|
274
|
-
fileTag: bare.readU8(bc),
|
|
275
|
-
metaValue: readKvValue(bc),
|
|
276
|
-
deleteChunksFrom: bare.readU32(bc),
|
|
277
|
-
tailChunk: read5(bc),
|
|
278
|
-
fence: readSqliteFastPathFence(bc)
|
|
279
|
-
};
|
|
280
|
-
}
|
|
281
|
-
function writeKvSqliteTruncateRequest(bc, x) {
|
|
282
|
-
bare.writeU8(bc, x.fileTag);
|
|
283
|
-
writeKvValue(bc, x.metaValue);
|
|
284
|
-
bare.writeU32(bc, x.deleteChunksFrom);
|
|
285
|
-
write5(bc, x.tailChunk);
|
|
286
|
-
writeSqliteFastPathFence(bc, x.fence);
|
|
287
|
-
}
|
|
288
212
|
function readKvErrorResponse(bc) {
|
|
289
213
|
return {
|
|
290
214
|
message: bare.readString(bc)
|
|
@@ -293,7 +217,7 @@ function readKvErrorResponse(bc) {
|
|
|
293
217
|
function writeKvErrorResponse(bc, x) {
|
|
294
218
|
bare.writeString(bc, x.message);
|
|
295
219
|
}
|
|
296
|
-
function
|
|
220
|
+
function read4(bc) {
|
|
297
221
|
const len = bare.readUintSafe(bc);
|
|
298
222
|
if (len === 0) {
|
|
299
223
|
return [];
|
|
@@ -304,7 +228,7 @@ function read6(bc) {
|
|
|
304
228
|
}
|
|
305
229
|
return result;
|
|
306
230
|
}
|
|
307
|
-
function
|
|
231
|
+
function write4(bc, x) {
|
|
308
232
|
bare.writeUintSafe(bc, x.length);
|
|
309
233
|
for (let i = 0; i < x.length; i++) {
|
|
310
234
|
writeKvMetadata(bc, x[i]);
|
|
@@ -314,25 +238,25 @@ function readKvGetResponse(bc) {
|
|
|
314
238
|
return {
|
|
315
239
|
keys: read0(bc),
|
|
316
240
|
values: read3(bc),
|
|
317
|
-
metadata:
|
|
241
|
+
metadata: read4(bc)
|
|
318
242
|
};
|
|
319
243
|
}
|
|
320
244
|
function writeKvGetResponse(bc, x) {
|
|
321
245
|
write0(bc, x.keys);
|
|
322
246
|
write3(bc, x.values);
|
|
323
|
-
|
|
247
|
+
write4(bc, x.metadata);
|
|
324
248
|
}
|
|
325
249
|
function readKvListResponse(bc) {
|
|
326
250
|
return {
|
|
327
251
|
keys: read0(bc),
|
|
328
252
|
values: read3(bc),
|
|
329
|
-
metadata:
|
|
253
|
+
metadata: read4(bc)
|
|
330
254
|
};
|
|
331
255
|
}
|
|
332
256
|
function writeKvListResponse(bc, x) {
|
|
333
257
|
write0(bc, x.keys);
|
|
334
258
|
write3(bc, x.values);
|
|
335
|
-
|
|
259
|
+
write4(bc, x.metadata);
|
|
336
260
|
}
|
|
337
261
|
function readKvRequestData(bc) {
|
|
338
262
|
const offset = bc.offset;
|
|
@@ -349,10 +273,6 @@ function readKvRequestData(bc) {
|
|
|
349
273
|
case 4:
|
|
350
274
|
return { tag: "KvDeleteRangeRequest", val: readKvDeleteRangeRequest(bc) };
|
|
351
275
|
case 5:
|
|
352
|
-
return { tag: "KvSqliteWriteBatchRequest", val: readKvSqliteWriteBatchRequest(bc) };
|
|
353
|
-
case 6:
|
|
354
|
-
return { tag: "KvSqliteTruncateRequest", val: readKvSqliteTruncateRequest(bc) };
|
|
355
|
-
case 7:
|
|
356
276
|
return { tag: "KvDropRequest", val: null };
|
|
357
277
|
default: {
|
|
358
278
|
bc.offset = offset;
|
|
@@ -387,18 +307,8 @@ function writeKvRequestData(bc, x) {
|
|
|
387
307
|
writeKvDeleteRangeRequest(bc, x.val);
|
|
388
308
|
break;
|
|
389
309
|
}
|
|
390
|
-
case "KvSqliteWriteBatchRequest": {
|
|
391
|
-
bare.writeU8(bc, 5);
|
|
392
|
-
writeKvSqliteWriteBatchRequest(bc, x.val);
|
|
393
|
-
break;
|
|
394
|
-
}
|
|
395
|
-
case "KvSqliteTruncateRequest": {
|
|
396
|
-
bare.writeU8(bc, 6);
|
|
397
|
-
writeKvSqliteTruncateRequest(bc, x.val);
|
|
398
|
-
break;
|
|
399
|
-
}
|
|
400
310
|
case "KvDropRequest": {
|
|
401
|
-
bare.writeU8(bc,
|
|
311
|
+
bare.writeU8(bc, 5);
|
|
402
312
|
break;
|
|
403
313
|
}
|
|
404
314
|
}
|
|
@@ -456,6 +366,404 @@ function writeKvResponseData(bc, x) {
|
|
|
456
366
|
}
|
|
457
367
|
}
|
|
458
368
|
}
|
|
369
|
+
function readSqliteGeneration(bc) {
|
|
370
|
+
return bare.readU64(bc);
|
|
371
|
+
}
|
|
372
|
+
function writeSqliteGeneration(bc, x) {
|
|
373
|
+
bare.writeU64(bc, x);
|
|
374
|
+
}
|
|
375
|
+
function readSqliteTxid(bc) {
|
|
376
|
+
return bare.readU64(bc);
|
|
377
|
+
}
|
|
378
|
+
function writeSqliteTxid(bc, x) {
|
|
379
|
+
bare.writeU64(bc, x);
|
|
380
|
+
}
|
|
381
|
+
function readSqlitePgno(bc) {
|
|
382
|
+
return bare.readU32(bc);
|
|
383
|
+
}
|
|
384
|
+
function writeSqlitePgno(bc, x) {
|
|
385
|
+
bare.writeU32(bc, x);
|
|
386
|
+
}
|
|
387
|
+
function readSqliteStageId(bc) {
|
|
388
|
+
return bare.readU64(bc);
|
|
389
|
+
}
|
|
390
|
+
function writeSqliteStageId(bc, x) {
|
|
391
|
+
bare.writeU64(bc, x);
|
|
392
|
+
}
|
|
393
|
+
function readSqlitePageBytes(bc) {
|
|
394
|
+
return bare.readData(bc);
|
|
395
|
+
}
|
|
396
|
+
function writeSqlitePageBytes(bc, x) {
|
|
397
|
+
bare.writeData(bc, x);
|
|
398
|
+
}
|
|
399
|
+
function readSqliteMeta(bc) {
|
|
400
|
+
return {
|
|
401
|
+
schemaVersion: bare.readU32(bc),
|
|
402
|
+
generation: readSqliteGeneration(bc),
|
|
403
|
+
headTxid: readSqliteTxid(bc),
|
|
404
|
+
materializedTxid: readSqliteTxid(bc),
|
|
405
|
+
dbSizePages: bare.readU32(bc),
|
|
406
|
+
pageSize: bare.readU32(bc),
|
|
407
|
+
creationTsMs: bare.readI64(bc),
|
|
408
|
+
maxDeltaBytes: bare.readU64(bc)
|
|
409
|
+
};
|
|
410
|
+
}
|
|
411
|
+
function writeSqliteMeta(bc, x) {
|
|
412
|
+
bare.writeU32(bc, x.schemaVersion);
|
|
413
|
+
writeSqliteGeneration(bc, x.generation);
|
|
414
|
+
writeSqliteTxid(bc, x.headTxid);
|
|
415
|
+
writeSqliteTxid(bc, x.materializedTxid);
|
|
416
|
+
bare.writeU32(bc, x.dbSizePages);
|
|
417
|
+
bare.writeU32(bc, x.pageSize);
|
|
418
|
+
bare.writeI64(bc, x.creationTsMs);
|
|
419
|
+
bare.writeU64(bc, x.maxDeltaBytes);
|
|
420
|
+
}
|
|
421
|
+
function readSqliteFenceMismatch(bc) {
|
|
422
|
+
return {
|
|
423
|
+
actualMeta: readSqliteMeta(bc),
|
|
424
|
+
reason: bare.readString(bc)
|
|
425
|
+
};
|
|
426
|
+
}
|
|
427
|
+
function writeSqliteFenceMismatch(bc, x) {
|
|
428
|
+
writeSqliteMeta(bc, x.actualMeta);
|
|
429
|
+
bare.writeString(bc, x.reason);
|
|
430
|
+
}
|
|
431
|
+
function readSqliteDirtyPage(bc) {
|
|
432
|
+
return {
|
|
433
|
+
pgno: readSqlitePgno(bc),
|
|
434
|
+
bytes: readSqlitePageBytes(bc)
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
function writeSqliteDirtyPage(bc, x) {
|
|
438
|
+
writeSqlitePgno(bc, x.pgno);
|
|
439
|
+
writeSqlitePageBytes(bc, x.bytes);
|
|
440
|
+
}
|
|
441
|
+
function read5(bc) {
|
|
442
|
+
return bare.readBool(bc) ? readSqlitePageBytes(bc) : null;
|
|
443
|
+
}
|
|
444
|
+
function write5(bc, x) {
|
|
445
|
+
bare.writeBool(bc, x != null);
|
|
446
|
+
if (x != null) {
|
|
447
|
+
writeSqlitePageBytes(bc, x);
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
function readSqliteFetchedPage(bc) {
|
|
451
|
+
return {
|
|
452
|
+
pgno: readSqlitePgno(bc),
|
|
453
|
+
bytes: read5(bc)
|
|
454
|
+
};
|
|
455
|
+
}
|
|
456
|
+
function writeSqliteFetchedPage(bc, x) {
|
|
457
|
+
writeSqlitePgno(bc, x.pgno);
|
|
458
|
+
write5(bc, x.bytes);
|
|
459
|
+
}
|
|
460
|
+
function read6(bc) {
|
|
461
|
+
const len = bare.readUintSafe(bc);
|
|
462
|
+
if (len === 0) {
|
|
463
|
+
return [];
|
|
464
|
+
}
|
|
465
|
+
const result = [readSqlitePgno(bc)];
|
|
466
|
+
for (let i = 1; i < len; i++) {
|
|
467
|
+
result[i] = readSqlitePgno(bc);
|
|
468
|
+
}
|
|
469
|
+
return result;
|
|
470
|
+
}
|
|
471
|
+
function write6(bc, x) {
|
|
472
|
+
bare.writeUintSafe(bc, x.length);
|
|
473
|
+
for (let i = 0; i < x.length; i++) {
|
|
474
|
+
writeSqlitePgno(bc, x[i]);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
function readSqliteGetPagesRequest(bc) {
|
|
478
|
+
return {
|
|
479
|
+
actorId: readId(bc),
|
|
480
|
+
generation: readSqliteGeneration(bc),
|
|
481
|
+
pgnos: read6(bc)
|
|
482
|
+
};
|
|
483
|
+
}
|
|
484
|
+
function writeSqliteGetPagesRequest(bc, x) {
|
|
485
|
+
writeId(bc, x.actorId);
|
|
486
|
+
writeSqliteGeneration(bc, x.generation);
|
|
487
|
+
write6(bc, x.pgnos);
|
|
488
|
+
}
|
|
489
|
+
function read7(bc) {
|
|
490
|
+
const len = bare.readUintSafe(bc);
|
|
491
|
+
if (len === 0) {
|
|
492
|
+
return [];
|
|
493
|
+
}
|
|
494
|
+
const result = [readSqliteFetchedPage(bc)];
|
|
495
|
+
for (let i = 1; i < len; i++) {
|
|
496
|
+
result[i] = readSqliteFetchedPage(bc);
|
|
497
|
+
}
|
|
498
|
+
return result;
|
|
499
|
+
}
|
|
500
|
+
function write7(bc, x) {
|
|
501
|
+
bare.writeUintSafe(bc, x.length);
|
|
502
|
+
for (let i = 0; i < x.length; i++) {
|
|
503
|
+
writeSqliteFetchedPage(bc, x[i]);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
function readSqliteGetPagesOk(bc) {
|
|
507
|
+
return {
|
|
508
|
+
pages: read7(bc),
|
|
509
|
+
meta: readSqliteMeta(bc)
|
|
510
|
+
};
|
|
511
|
+
}
|
|
512
|
+
function writeSqliteGetPagesOk(bc, x) {
|
|
513
|
+
write7(bc, x.pages);
|
|
514
|
+
writeSqliteMeta(bc, x.meta);
|
|
515
|
+
}
|
|
516
|
+
function readSqliteGetPagesResponse(bc) {
|
|
517
|
+
const offset = bc.offset;
|
|
518
|
+
const tag = bare.readU8(bc);
|
|
519
|
+
switch (tag) {
|
|
520
|
+
case 0:
|
|
521
|
+
return { tag: "SqliteGetPagesOk", val: readSqliteGetPagesOk(bc) };
|
|
522
|
+
case 1:
|
|
523
|
+
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
524
|
+
default: {
|
|
525
|
+
bc.offset = offset;
|
|
526
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
function writeSqliteGetPagesResponse(bc, x) {
|
|
531
|
+
switch (x.tag) {
|
|
532
|
+
case "SqliteGetPagesOk": {
|
|
533
|
+
bare.writeU8(bc, 0);
|
|
534
|
+
writeSqliteGetPagesOk(bc, x.val);
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
537
|
+
case "SqliteFenceMismatch": {
|
|
538
|
+
bare.writeU8(bc, 1);
|
|
539
|
+
writeSqliteFenceMismatch(bc, x.val);
|
|
540
|
+
break;
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
function read8(bc) {
|
|
545
|
+
const len = bare.readUintSafe(bc);
|
|
546
|
+
if (len === 0) {
|
|
547
|
+
return [];
|
|
548
|
+
}
|
|
549
|
+
const result = [readSqliteDirtyPage(bc)];
|
|
550
|
+
for (let i = 1; i < len; i++) {
|
|
551
|
+
result[i] = readSqliteDirtyPage(bc);
|
|
552
|
+
}
|
|
553
|
+
return result;
|
|
554
|
+
}
|
|
555
|
+
function write8(bc, x) {
|
|
556
|
+
bare.writeUintSafe(bc, x.length);
|
|
557
|
+
for (let i = 0; i < x.length; i++) {
|
|
558
|
+
writeSqliteDirtyPage(bc, x[i]);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
function readSqliteCommitRequest(bc) {
|
|
562
|
+
return {
|
|
563
|
+
actorId: readId(bc),
|
|
564
|
+
generation: readSqliteGeneration(bc),
|
|
565
|
+
expectedHeadTxid: readSqliteTxid(bc),
|
|
566
|
+
dirtyPages: read8(bc),
|
|
567
|
+
newDbSizePages: bare.readU32(bc)
|
|
568
|
+
};
|
|
569
|
+
}
|
|
570
|
+
function writeSqliteCommitRequest(bc, x) {
|
|
571
|
+
writeId(bc, x.actorId);
|
|
572
|
+
writeSqliteGeneration(bc, x.generation);
|
|
573
|
+
writeSqliteTxid(bc, x.expectedHeadTxid);
|
|
574
|
+
write8(bc, x.dirtyPages);
|
|
575
|
+
bare.writeU32(bc, x.newDbSizePages);
|
|
576
|
+
}
|
|
577
|
+
function readSqliteCommitOk(bc) {
|
|
578
|
+
return {
|
|
579
|
+
newHeadTxid: readSqliteTxid(bc),
|
|
580
|
+
meta: readSqliteMeta(bc)
|
|
581
|
+
};
|
|
582
|
+
}
|
|
583
|
+
function writeSqliteCommitOk(bc, x) {
|
|
584
|
+
writeSqliteTxid(bc, x.newHeadTxid);
|
|
585
|
+
writeSqliteMeta(bc, x.meta);
|
|
586
|
+
}
|
|
587
|
+
function readSqliteCommitTooLarge(bc) {
|
|
588
|
+
return {
|
|
589
|
+
actualSizeBytes: bare.readU64(bc),
|
|
590
|
+
maxSizeBytes: bare.readU64(bc)
|
|
591
|
+
};
|
|
592
|
+
}
|
|
593
|
+
function writeSqliteCommitTooLarge(bc, x) {
|
|
594
|
+
bare.writeU64(bc, x.actualSizeBytes);
|
|
595
|
+
bare.writeU64(bc, x.maxSizeBytes);
|
|
596
|
+
}
|
|
597
|
+
function readSqliteCommitResponse(bc) {
|
|
598
|
+
const offset = bc.offset;
|
|
599
|
+
const tag = bare.readU8(bc);
|
|
600
|
+
switch (tag) {
|
|
601
|
+
case 0:
|
|
602
|
+
return { tag: "SqliteCommitOk", val: readSqliteCommitOk(bc) };
|
|
603
|
+
case 1:
|
|
604
|
+
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
605
|
+
case 2:
|
|
606
|
+
return { tag: "SqliteCommitTooLarge", val: readSqliteCommitTooLarge(bc) };
|
|
607
|
+
default: {
|
|
608
|
+
bc.offset = offset;
|
|
609
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
610
|
+
}
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
function writeSqliteCommitResponse(bc, x) {
|
|
614
|
+
switch (x.tag) {
|
|
615
|
+
case "SqliteCommitOk": {
|
|
616
|
+
bare.writeU8(bc, 0);
|
|
617
|
+
writeSqliteCommitOk(bc, x.val);
|
|
618
|
+
break;
|
|
619
|
+
}
|
|
620
|
+
case "SqliteFenceMismatch": {
|
|
621
|
+
bare.writeU8(bc, 1);
|
|
622
|
+
writeSqliteFenceMismatch(bc, x.val);
|
|
623
|
+
break;
|
|
624
|
+
}
|
|
625
|
+
case "SqliteCommitTooLarge": {
|
|
626
|
+
bare.writeU8(bc, 2);
|
|
627
|
+
writeSqliteCommitTooLarge(bc, x.val);
|
|
628
|
+
break;
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
function readSqliteCommitStageRequest(bc) {
|
|
633
|
+
return {
|
|
634
|
+
actorId: readId(bc),
|
|
635
|
+
generation: readSqliteGeneration(bc),
|
|
636
|
+
stageId: readSqliteStageId(bc),
|
|
637
|
+
chunkIdx: bare.readU16(bc),
|
|
638
|
+
dirtyPages: read8(bc),
|
|
639
|
+
isLast: bare.readBool(bc)
|
|
640
|
+
};
|
|
641
|
+
}
|
|
642
|
+
function writeSqliteCommitStageRequest(bc, x) {
|
|
643
|
+
writeId(bc, x.actorId);
|
|
644
|
+
writeSqliteGeneration(bc, x.generation);
|
|
645
|
+
writeSqliteStageId(bc, x.stageId);
|
|
646
|
+
bare.writeU16(bc, x.chunkIdx);
|
|
647
|
+
write8(bc, x.dirtyPages);
|
|
648
|
+
bare.writeBool(bc, x.isLast);
|
|
649
|
+
}
|
|
650
|
+
function readSqliteCommitStageOk(bc) {
|
|
651
|
+
return {
|
|
652
|
+
chunkIdxCommitted: bare.readU16(bc)
|
|
653
|
+
};
|
|
654
|
+
}
|
|
655
|
+
function writeSqliteCommitStageOk(bc, x) {
|
|
656
|
+
bare.writeU16(bc, x.chunkIdxCommitted);
|
|
657
|
+
}
|
|
658
|
+
function readSqliteCommitStageResponse(bc) {
|
|
659
|
+
const offset = bc.offset;
|
|
660
|
+
const tag = bare.readU8(bc);
|
|
661
|
+
switch (tag) {
|
|
662
|
+
case 0:
|
|
663
|
+
return { tag: "SqliteCommitStageOk", val: readSqliteCommitStageOk(bc) };
|
|
664
|
+
case 1:
|
|
665
|
+
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
666
|
+
default: {
|
|
667
|
+
bc.offset = offset;
|
|
668
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
function writeSqliteCommitStageResponse(bc, x) {
|
|
673
|
+
switch (x.tag) {
|
|
674
|
+
case "SqliteCommitStageOk": {
|
|
675
|
+
bare.writeU8(bc, 0);
|
|
676
|
+
writeSqliteCommitStageOk(bc, x.val);
|
|
677
|
+
break;
|
|
678
|
+
}
|
|
679
|
+
case "SqliteFenceMismatch": {
|
|
680
|
+
bare.writeU8(bc, 1);
|
|
681
|
+
writeSqliteFenceMismatch(bc, x.val);
|
|
682
|
+
break;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
function readSqliteCommitFinalizeRequest(bc) {
|
|
687
|
+
return {
|
|
688
|
+
actorId: readId(bc),
|
|
689
|
+
generation: readSqliteGeneration(bc),
|
|
690
|
+
expectedHeadTxid: readSqliteTxid(bc),
|
|
691
|
+
stageId: readSqliteStageId(bc),
|
|
692
|
+
newDbSizePages: bare.readU32(bc)
|
|
693
|
+
};
|
|
694
|
+
}
|
|
695
|
+
function writeSqliteCommitFinalizeRequest(bc, x) {
|
|
696
|
+
writeId(bc, x.actorId);
|
|
697
|
+
writeSqliteGeneration(bc, x.generation);
|
|
698
|
+
writeSqliteTxid(bc, x.expectedHeadTxid);
|
|
699
|
+
writeSqliteStageId(bc, x.stageId);
|
|
700
|
+
bare.writeU32(bc, x.newDbSizePages);
|
|
701
|
+
}
|
|
702
|
+
function readSqliteCommitFinalizeOk(bc) {
|
|
703
|
+
return {
|
|
704
|
+
newHeadTxid: readSqliteTxid(bc),
|
|
705
|
+
meta: readSqliteMeta(bc)
|
|
706
|
+
};
|
|
707
|
+
}
|
|
708
|
+
function writeSqliteCommitFinalizeOk(bc, x) {
|
|
709
|
+
writeSqliteTxid(bc, x.newHeadTxid);
|
|
710
|
+
writeSqliteMeta(bc, x.meta);
|
|
711
|
+
}
|
|
712
|
+
function readSqliteStageNotFound(bc) {
|
|
713
|
+
return {
|
|
714
|
+
stageId: readSqliteStageId(bc)
|
|
715
|
+
};
|
|
716
|
+
}
|
|
717
|
+
function writeSqliteStageNotFound(bc, x) {
|
|
718
|
+
writeSqliteStageId(bc, x.stageId);
|
|
719
|
+
}
|
|
720
|
+
function readSqliteCommitFinalizeResponse(bc) {
|
|
721
|
+
const offset = bc.offset;
|
|
722
|
+
const tag = bare.readU8(bc);
|
|
723
|
+
switch (tag) {
|
|
724
|
+
case 0:
|
|
725
|
+
return { tag: "SqliteCommitFinalizeOk", val: readSqliteCommitFinalizeOk(bc) };
|
|
726
|
+
case 1:
|
|
727
|
+
return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
|
|
728
|
+
case 2:
|
|
729
|
+
return { tag: "SqliteStageNotFound", val: readSqliteStageNotFound(bc) };
|
|
730
|
+
default: {
|
|
731
|
+
bc.offset = offset;
|
|
732
|
+
throw new bare.BareError(offset, "invalid tag");
|
|
733
|
+
}
|
|
734
|
+
}
|
|
735
|
+
}
|
|
736
|
+
function writeSqliteCommitFinalizeResponse(bc, x) {
|
|
737
|
+
switch (x.tag) {
|
|
738
|
+
case "SqliteCommitFinalizeOk": {
|
|
739
|
+
bare.writeU8(bc, 0);
|
|
740
|
+
writeSqliteCommitFinalizeOk(bc, x.val);
|
|
741
|
+
break;
|
|
742
|
+
}
|
|
743
|
+
case "SqliteFenceMismatch": {
|
|
744
|
+
bare.writeU8(bc, 1);
|
|
745
|
+
writeSqliteFenceMismatch(bc, x.val);
|
|
746
|
+
break;
|
|
747
|
+
}
|
|
748
|
+
case "SqliteStageNotFound": {
|
|
749
|
+
bare.writeU8(bc, 2);
|
|
750
|
+
writeSqliteStageNotFound(bc, x.val);
|
|
751
|
+
break;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
function readSqliteStartupData(bc) {
|
|
756
|
+
return {
|
|
757
|
+
generation: readSqliteGeneration(bc),
|
|
758
|
+
meta: readSqliteMeta(bc),
|
|
759
|
+
preloadedPages: read7(bc)
|
|
760
|
+
};
|
|
761
|
+
}
|
|
762
|
+
function writeSqliteStartupData(bc, x) {
|
|
763
|
+
writeSqliteGeneration(bc, x.generation);
|
|
764
|
+
writeSqliteMeta(bc, x.meta);
|
|
765
|
+
write7(bc, x.preloadedPages);
|
|
766
|
+
}
|
|
459
767
|
var StopCode = /* @__PURE__ */ ((StopCode2) => {
|
|
460
768
|
StopCode2["Ok"] = "Ok";
|
|
461
769
|
StopCode2["Error"] = "Error";
|
|
@@ -495,19 +803,19 @@ function readActorName(bc) {
|
|
|
495
803
|
function writeActorName(bc, x) {
|
|
496
804
|
writeJson(bc, x.metadata);
|
|
497
805
|
}
|
|
498
|
-
function
|
|
806
|
+
function read9(bc) {
|
|
499
807
|
return bare.readBool(bc) ? bare.readString(bc) : null;
|
|
500
808
|
}
|
|
501
|
-
function
|
|
809
|
+
function write9(bc, x) {
|
|
502
810
|
bare.writeBool(bc, x != null);
|
|
503
811
|
if (x != null) {
|
|
504
812
|
bare.writeString(bc, x);
|
|
505
813
|
}
|
|
506
814
|
}
|
|
507
|
-
function
|
|
815
|
+
function read10(bc) {
|
|
508
816
|
return bare.readBool(bc) ? bare.readData(bc) : null;
|
|
509
817
|
}
|
|
510
|
-
function
|
|
818
|
+
function write10(bc, x) {
|
|
511
819
|
bare.writeBool(bc, x != null);
|
|
512
820
|
if (x != null) {
|
|
513
821
|
bare.writeData(bc, x);
|
|
@@ -516,16 +824,16 @@ function write8(bc, x) {
|
|
|
516
824
|
function readActorConfig(bc) {
|
|
517
825
|
return {
|
|
518
826
|
name: bare.readString(bc),
|
|
519
|
-
key:
|
|
827
|
+
key: read9(bc),
|
|
520
828
|
createTs: bare.readI64(bc),
|
|
521
|
-
input:
|
|
829
|
+
input: read10(bc)
|
|
522
830
|
};
|
|
523
831
|
}
|
|
524
832
|
function writeActorConfig(bc, x) {
|
|
525
833
|
bare.writeString(bc, x.name);
|
|
526
|
-
|
|
834
|
+
write9(bc, x.key);
|
|
527
835
|
bare.writeI64(bc, x.createTs);
|
|
528
|
-
|
|
836
|
+
write10(bc, x.input);
|
|
529
837
|
}
|
|
530
838
|
function readActorCheckpoint(bc) {
|
|
531
839
|
return {
|
|
@@ -568,12 +876,12 @@ function writeActorIntent(bc, x) {
|
|
|
568
876
|
function readActorStateStopped(bc) {
|
|
569
877
|
return {
|
|
570
878
|
code: readStopCode(bc),
|
|
571
|
-
message:
|
|
879
|
+
message: read9(bc)
|
|
572
880
|
};
|
|
573
881
|
}
|
|
574
882
|
function writeActorStateStopped(bc, x) {
|
|
575
883
|
writeStopCode(bc, x.code);
|
|
576
|
-
|
|
884
|
+
write9(bc, x.message);
|
|
577
885
|
}
|
|
578
886
|
function readActorState(bc) {
|
|
579
887
|
const offset = bc.offset;
|
|
@@ -618,10 +926,10 @@ function readEventActorStateUpdate(bc) {
|
|
|
618
926
|
function writeEventActorStateUpdate(bc, x) {
|
|
619
927
|
writeActorState(bc, x.state);
|
|
620
928
|
}
|
|
621
|
-
function
|
|
929
|
+
function read11(bc) {
|
|
622
930
|
return bare.readBool(bc) ? bare.readI64(bc) : null;
|
|
623
931
|
}
|
|
624
|
-
function
|
|
932
|
+
function write11(bc, x) {
|
|
625
933
|
bare.writeBool(bc, x != null);
|
|
626
934
|
if (x != null) {
|
|
627
935
|
bare.writeI64(bc, x);
|
|
@@ -629,11 +937,11 @@ function write9(bc, x) {
|
|
|
629
937
|
}
|
|
630
938
|
function readEventActorSetAlarm(bc) {
|
|
631
939
|
return {
|
|
632
|
-
alarmTs:
|
|
940
|
+
alarmTs: read11(bc)
|
|
633
941
|
};
|
|
634
942
|
}
|
|
635
943
|
function writeEventActorSetAlarm(bc, x) {
|
|
636
|
-
|
|
944
|
+
write11(bc, x.alarmTs);
|
|
637
945
|
}
|
|
638
946
|
function readEvent(bc) {
|
|
639
947
|
const offset = bc.offset;
|
|
@@ -692,7 +1000,7 @@ function writePreloadedKvEntry(bc, x) {
|
|
|
692
1000
|
writeKvValue(bc, x.value);
|
|
693
1001
|
writeKvMetadata(bc, x.metadata);
|
|
694
1002
|
}
|
|
695
|
-
function
|
|
1003
|
+
function read12(bc) {
|
|
696
1004
|
const len = bare.readUintSafe(bc);
|
|
697
1005
|
if (len === 0) {
|
|
698
1006
|
return [];
|
|
@@ -703,7 +1011,7 @@ function read10(bc) {
|
|
|
703
1011
|
}
|
|
704
1012
|
return result;
|
|
705
1013
|
}
|
|
706
|
-
function
|
|
1014
|
+
function write12(bc, x) {
|
|
707
1015
|
bare.writeUintSafe(bc, x.length);
|
|
708
1016
|
for (let i = 0; i < x.length; i++) {
|
|
709
1017
|
writePreloadedKvEntry(bc, x[i]);
|
|
@@ -711,13 +1019,13 @@ function write10(bc, x) {
|
|
|
711
1019
|
}
|
|
712
1020
|
function readPreloadedKv(bc) {
|
|
713
1021
|
return {
|
|
714
|
-
entries:
|
|
1022
|
+
entries: read12(bc),
|
|
715
1023
|
requestedGetKeys: read0(bc),
|
|
716
1024
|
requestedPrefixes: read0(bc)
|
|
717
1025
|
};
|
|
718
1026
|
}
|
|
719
1027
|
function writePreloadedKv(bc, x) {
|
|
720
|
-
|
|
1028
|
+
write12(bc, x.entries);
|
|
721
1029
|
write0(bc, x.requestedGetKeys);
|
|
722
1030
|
write0(bc, x.requestedPrefixes);
|
|
723
1031
|
}
|
|
@@ -731,7 +1039,7 @@ function writeHibernatingRequest(bc, x) {
|
|
|
731
1039
|
writeGatewayId(bc, x.gatewayId);
|
|
732
1040
|
writeRequestId(bc, x.requestId);
|
|
733
1041
|
}
|
|
734
|
-
function
|
|
1042
|
+
function read13(bc) {
|
|
735
1043
|
const len = bare.readUintSafe(bc);
|
|
736
1044
|
if (len === 0) {
|
|
737
1045
|
return [];
|
|
@@ -742,32 +1050,45 @@ function read11(bc) {
|
|
|
742
1050
|
}
|
|
743
1051
|
return result;
|
|
744
1052
|
}
|
|
745
|
-
function
|
|
1053
|
+
function write13(bc, x) {
|
|
746
1054
|
bare.writeUintSafe(bc, x.length);
|
|
747
1055
|
for (let i = 0; i < x.length; i++) {
|
|
748
1056
|
writeHibernatingRequest(bc, x[i]);
|
|
749
1057
|
}
|
|
750
1058
|
}
|
|
751
|
-
function
|
|
1059
|
+
function read14(bc) {
|
|
752
1060
|
return bare.readBool(bc) ? readPreloadedKv(bc) : null;
|
|
753
1061
|
}
|
|
754
|
-
function
|
|
1062
|
+
function write14(bc, x) {
|
|
755
1063
|
bare.writeBool(bc, x != null);
|
|
756
1064
|
if (x != null) {
|
|
757
1065
|
writePreloadedKv(bc, x);
|
|
758
1066
|
}
|
|
759
1067
|
}
|
|
1068
|
+
function read15(bc) {
|
|
1069
|
+
return bare.readBool(bc) ? readSqliteStartupData(bc) : null;
|
|
1070
|
+
}
|
|
1071
|
+
function write15(bc, x) {
|
|
1072
|
+
bare.writeBool(bc, x != null);
|
|
1073
|
+
if (x != null) {
|
|
1074
|
+
writeSqliteStartupData(bc, x);
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
760
1077
|
function readCommandStartActor(bc) {
|
|
761
1078
|
return {
|
|
762
1079
|
config: readActorConfig(bc),
|
|
763
|
-
hibernatingRequests:
|
|
764
|
-
preloadedKv:
|
|
1080
|
+
hibernatingRequests: read13(bc),
|
|
1081
|
+
preloadedKv: read14(bc),
|
|
1082
|
+
sqliteSchemaVersion: bare.readU32(bc),
|
|
1083
|
+
sqliteStartupData: read15(bc)
|
|
765
1084
|
};
|
|
766
1085
|
}
|
|
767
1086
|
function writeCommandStartActor(bc, x) {
|
|
768
1087
|
writeActorConfig(bc, x.config);
|
|
769
|
-
|
|
770
|
-
|
|
1088
|
+
write13(bc, x.hibernatingRequests);
|
|
1089
|
+
write14(bc, x.preloadedKv);
|
|
1090
|
+
bare.writeU32(bc, x.sqliteSchemaVersion);
|
|
1091
|
+
write15(bc, x.sqliteStartupData);
|
|
771
1092
|
}
|
|
772
1093
|
var StopActorReason = /* @__PURE__ */ ((StopActorReason2) => {
|
|
773
1094
|
StopActorReason2["SleepIntent"] = "SleepIntent";
|
|
@@ -924,7 +1245,7 @@ function writeMessageId(bc, x) {
|
|
|
924
1245
|
writeRequestId(bc, x.requestId);
|
|
925
1246
|
writeMessageIndex(bc, x.messageIndex);
|
|
926
1247
|
}
|
|
927
|
-
function
|
|
1248
|
+
function read16(bc) {
|
|
928
1249
|
const len = bare.readUintSafe(bc);
|
|
929
1250
|
const result = /* @__PURE__ */ new Map();
|
|
930
1251
|
for (let i = 0; i < len; i++) {
|
|
@@ -938,7 +1259,7 @@ function read13(bc) {
|
|
|
938
1259
|
}
|
|
939
1260
|
return result;
|
|
940
1261
|
}
|
|
941
|
-
function
|
|
1262
|
+
function write16(bc, x) {
|
|
942
1263
|
bare.writeUintSafe(bc, x.size);
|
|
943
1264
|
for (const kv of x) {
|
|
944
1265
|
bare.writeString(bc, kv[0]);
|
|
@@ -950,8 +1271,8 @@ function readToEnvoyRequestStart(bc) {
|
|
|
950
1271
|
actorId: readId(bc),
|
|
951
1272
|
method: bare.readString(bc),
|
|
952
1273
|
path: bare.readString(bc),
|
|
953
|
-
headers:
|
|
954
|
-
body:
|
|
1274
|
+
headers: read16(bc),
|
|
1275
|
+
body: read10(bc),
|
|
955
1276
|
stream: bare.readBool(bc)
|
|
956
1277
|
};
|
|
957
1278
|
}
|
|
@@ -959,8 +1280,8 @@ function writeToEnvoyRequestStart(bc, x) {
|
|
|
959
1280
|
writeId(bc, x.actorId);
|
|
960
1281
|
bare.writeString(bc, x.method);
|
|
961
1282
|
bare.writeString(bc, x.path);
|
|
962
|
-
|
|
963
|
-
|
|
1283
|
+
write16(bc, x.headers);
|
|
1284
|
+
write10(bc, x.body);
|
|
964
1285
|
bare.writeBool(bc, x.stream);
|
|
965
1286
|
}
|
|
966
1287
|
function readToEnvoyRequestChunk(bc) {
|
|
@@ -976,15 +1297,15 @@ function writeToEnvoyRequestChunk(bc, x) {
|
|
|
976
1297
|
function readToRivetResponseStart(bc) {
|
|
977
1298
|
return {
|
|
978
1299
|
status: bare.readU16(bc),
|
|
979
|
-
headers:
|
|
980
|
-
body:
|
|
1300
|
+
headers: read16(bc),
|
|
1301
|
+
body: read10(bc),
|
|
981
1302
|
stream: bare.readBool(bc)
|
|
982
1303
|
};
|
|
983
1304
|
}
|
|
984
1305
|
function writeToRivetResponseStart(bc, x) {
|
|
985
1306
|
bare.writeU16(bc, x.status);
|
|
986
|
-
|
|
987
|
-
|
|
1307
|
+
write16(bc, x.headers);
|
|
1308
|
+
write10(bc, x.body);
|
|
988
1309
|
bare.writeBool(bc, x.stream);
|
|
989
1310
|
}
|
|
990
1311
|
function readToRivetResponseChunk(bc) {
|
|
@@ -1001,13 +1322,13 @@ function readToEnvoyWebSocketOpen(bc) {
|
|
|
1001
1322
|
return {
|
|
1002
1323
|
actorId: readId(bc),
|
|
1003
1324
|
path: bare.readString(bc),
|
|
1004
|
-
headers:
|
|
1325
|
+
headers: read16(bc)
|
|
1005
1326
|
};
|
|
1006
1327
|
}
|
|
1007
1328
|
function writeToEnvoyWebSocketOpen(bc, x) {
|
|
1008
1329
|
writeId(bc, x.actorId);
|
|
1009
1330
|
bare.writeString(bc, x.path);
|
|
1010
|
-
|
|
1331
|
+
write16(bc, x.headers);
|
|
1011
1332
|
}
|
|
1012
1333
|
function readToEnvoyWebSocketMessage(bc) {
|
|
1013
1334
|
return {
|
|
@@ -1019,10 +1340,10 @@ function writeToEnvoyWebSocketMessage(bc, x) {
|
|
|
1019
1340
|
bare.writeData(bc, x.data);
|
|
1020
1341
|
bare.writeBool(bc, x.binary);
|
|
1021
1342
|
}
|
|
1022
|
-
function
|
|
1343
|
+
function read17(bc) {
|
|
1023
1344
|
return bare.readBool(bc) ? bare.readU16(bc) : null;
|
|
1024
1345
|
}
|
|
1025
|
-
function
|
|
1346
|
+
function write17(bc, x) {
|
|
1026
1347
|
bare.writeBool(bc, x != null);
|
|
1027
1348
|
if (x != null) {
|
|
1028
1349
|
bare.writeU16(bc, x);
|
|
@@ -1030,13 +1351,13 @@ function write14(bc, x) {
|
|
|
1030
1351
|
}
|
|
1031
1352
|
function readToEnvoyWebSocketClose(bc) {
|
|
1032
1353
|
return {
|
|
1033
|
-
code:
|
|
1034
|
-
reason:
|
|
1354
|
+
code: read17(bc),
|
|
1355
|
+
reason: read9(bc)
|
|
1035
1356
|
};
|
|
1036
1357
|
}
|
|
1037
1358
|
function writeToEnvoyWebSocketClose(bc, x) {
|
|
1038
|
-
|
|
1039
|
-
|
|
1359
|
+
write17(bc, x.code);
|
|
1360
|
+
write9(bc, x.reason);
|
|
1040
1361
|
}
|
|
1041
1362
|
function readToRivetWebSocketOpen(bc) {
|
|
1042
1363
|
return {
|
|
@@ -1066,14 +1387,14 @@ function writeToRivetWebSocketMessageAck(bc, x) {
|
|
|
1066
1387
|
}
|
|
1067
1388
|
function readToRivetWebSocketClose(bc) {
|
|
1068
1389
|
return {
|
|
1069
|
-
code:
|
|
1070
|
-
reason:
|
|
1390
|
+
code: read17(bc),
|
|
1391
|
+
reason: read9(bc),
|
|
1071
1392
|
hibernate: bare.readBool(bc)
|
|
1072
1393
|
};
|
|
1073
1394
|
}
|
|
1074
1395
|
function writeToRivetWebSocketClose(bc, x) {
|
|
1075
|
-
|
|
1076
|
-
|
|
1396
|
+
write17(bc, x.code);
|
|
1397
|
+
write9(bc, x.reason);
|
|
1077
1398
|
bare.writeBool(bc, x.hibernate);
|
|
1078
1399
|
}
|
|
1079
1400
|
function readToRivetTunnelMessageKind(bc) {
|
|
@@ -1221,7 +1542,7 @@ function readToEnvoyPing(bc) {
|
|
|
1221
1542
|
function writeToEnvoyPing(bc, x) {
|
|
1222
1543
|
bare.writeI64(bc, x.ts);
|
|
1223
1544
|
}
|
|
1224
|
-
function
|
|
1545
|
+
function read18(bc) {
|
|
1225
1546
|
const len = bare.readUintSafe(bc);
|
|
1226
1547
|
const result = /* @__PURE__ */ new Map();
|
|
1227
1548
|
for (let i = 0; i < len; i++) {
|
|
@@ -1235,26 +1556,26 @@ function read15(bc) {
|
|
|
1235
1556
|
}
|
|
1236
1557
|
return result;
|
|
1237
1558
|
}
|
|
1238
|
-
function
|
|
1559
|
+
function write18(bc, x) {
|
|
1239
1560
|
bare.writeUintSafe(bc, x.size);
|
|
1240
1561
|
for (const kv of x) {
|
|
1241
1562
|
bare.writeString(bc, kv[0]);
|
|
1242
1563
|
writeActorName(bc, kv[1]);
|
|
1243
1564
|
}
|
|
1244
1565
|
}
|
|
1245
|
-
function
|
|
1246
|
-
return bare.readBool(bc) ?
|
|
1566
|
+
function read19(bc) {
|
|
1567
|
+
return bare.readBool(bc) ? read18(bc) : null;
|
|
1247
1568
|
}
|
|
1248
|
-
function
|
|
1569
|
+
function write19(bc, x) {
|
|
1249
1570
|
bare.writeBool(bc, x != null);
|
|
1250
1571
|
if (x != null) {
|
|
1251
|
-
|
|
1572
|
+
write18(bc, x);
|
|
1252
1573
|
}
|
|
1253
1574
|
}
|
|
1254
|
-
function
|
|
1575
|
+
function read20(bc) {
|
|
1255
1576
|
return bare.readBool(bc) ? readJson(bc) : null;
|
|
1256
1577
|
}
|
|
1257
|
-
function
|
|
1578
|
+
function write20(bc, x) {
|
|
1258
1579
|
bare.writeBool(bc, x != null);
|
|
1259
1580
|
if (x != null) {
|
|
1260
1581
|
writeJson(bc, x);
|
|
@@ -1262,13 +1583,13 @@ function write17(bc, x) {
|
|
|
1262
1583
|
}
|
|
1263
1584
|
function readToRivetMetadata(bc) {
|
|
1264
1585
|
return {
|
|
1265
|
-
prepopulateActorNames:
|
|
1266
|
-
metadata:
|
|
1586
|
+
prepopulateActorNames: read19(bc),
|
|
1587
|
+
metadata: read20(bc)
|
|
1267
1588
|
};
|
|
1268
1589
|
}
|
|
1269
1590
|
function writeToRivetMetadata(bc, x) {
|
|
1270
|
-
|
|
1271
|
-
|
|
1591
|
+
write19(bc, x.prepopulateActorNames);
|
|
1592
|
+
write20(bc, x.metadata);
|
|
1272
1593
|
}
|
|
1273
1594
|
function readToRivetEvents(bc) {
|
|
1274
1595
|
const len = bare.readUintSafe(bc);
|
|
@@ -1287,7 +1608,7 @@ function writeToRivetEvents(bc, x) {
|
|
|
1287
1608
|
writeEventWrapper(bc, x[i]);
|
|
1288
1609
|
}
|
|
1289
1610
|
}
|
|
1290
|
-
function
|
|
1611
|
+
function read21(bc) {
|
|
1291
1612
|
const len = bare.readUintSafe(bc);
|
|
1292
1613
|
if (len === 0) {
|
|
1293
1614
|
return [];
|
|
@@ -1298,7 +1619,7 @@ function read18(bc) {
|
|
|
1298
1619
|
}
|
|
1299
1620
|
return result;
|
|
1300
1621
|
}
|
|
1301
|
-
function
|
|
1622
|
+
function write21(bc, x) {
|
|
1302
1623
|
bare.writeUintSafe(bc, x.length);
|
|
1303
1624
|
for (let i = 0; i < x.length; i++) {
|
|
1304
1625
|
writeActorCheckpoint(bc, x[i]);
|
|
@@ -1306,11 +1627,11 @@ function write18(bc, x) {
|
|
|
1306
1627
|
}
|
|
1307
1628
|
function readToRivetAckCommands(bc) {
|
|
1308
1629
|
return {
|
|
1309
|
-
lastCommandCheckpoints:
|
|
1630
|
+
lastCommandCheckpoints: read21(bc)
|
|
1310
1631
|
};
|
|
1311
1632
|
}
|
|
1312
1633
|
function writeToRivetAckCommands(bc, x) {
|
|
1313
|
-
|
|
1634
|
+
write21(bc, x.lastCommandCheckpoints);
|
|
1314
1635
|
}
|
|
1315
1636
|
function readToRivetPong(bc) {
|
|
1316
1637
|
return {
|
|
@@ -1332,6 +1653,46 @@ function writeToRivetKvRequest(bc, x) {
|
|
|
1332
1653
|
bare.writeU32(bc, x.requestId);
|
|
1333
1654
|
writeKvRequestData(bc, x.data);
|
|
1334
1655
|
}
|
|
1656
|
+
function readToRivetSqliteGetPagesRequest(bc) {
|
|
1657
|
+
return {
|
|
1658
|
+
requestId: bare.readU32(bc),
|
|
1659
|
+
data: readSqliteGetPagesRequest(bc)
|
|
1660
|
+
};
|
|
1661
|
+
}
|
|
1662
|
+
function writeToRivetSqliteGetPagesRequest(bc, x) {
|
|
1663
|
+
bare.writeU32(bc, x.requestId);
|
|
1664
|
+
writeSqliteGetPagesRequest(bc, x.data);
|
|
1665
|
+
}
|
|
1666
|
+
function readToRivetSqliteCommitRequest(bc) {
|
|
1667
|
+
return {
|
|
1668
|
+
requestId: bare.readU32(bc),
|
|
1669
|
+
data: readSqliteCommitRequest(bc)
|
|
1670
|
+
};
|
|
1671
|
+
}
|
|
1672
|
+
function writeToRivetSqliteCommitRequest(bc, x) {
|
|
1673
|
+
bare.writeU32(bc, x.requestId);
|
|
1674
|
+
writeSqliteCommitRequest(bc, x.data);
|
|
1675
|
+
}
|
|
1676
|
+
function readToRivetSqliteCommitStageRequest(bc) {
|
|
1677
|
+
return {
|
|
1678
|
+
requestId: bare.readU32(bc),
|
|
1679
|
+
data: readSqliteCommitStageRequest(bc)
|
|
1680
|
+
};
|
|
1681
|
+
}
|
|
1682
|
+
function writeToRivetSqliteCommitStageRequest(bc, x) {
|
|
1683
|
+
bare.writeU32(bc, x.requestId);
|
|
1684
|
+
writeSqliteCommitStageRequest(bc, x.data);
|
|
1685
|
+
}
|
|
1686
|
+
function readToRivetSqliteCommitFinalizeRequest(bc) {
|
|
1687
|
+
return {
|
|
1688
|
+
requestId: bare.readU32(bc),
|
|
1689
|
+
data: readSqliteCommitFinalizeRequest(bc)
|
|
1690
|
+
};
|
|
1691
|
+
}
|
|
1692
|
+
function writeToRivetSqliteCommitFinalizeRequest(bc, x) {
|
|
1693
|
+
bare.writeU32(bc, x.requestId);
|
|
1694
|
+
writeSqliteCommitFinalizeRequest(bc, x.data);
|
|
1695
|
+
}
|
|
1335
1696
|
function readToRivet(bc) {
|
|
1336
1697
|
const offset = bc.offset;
|
|
1337
1698
|
const tag = bare.readU8(bc);
|
|
@@ -1350,6 +1711,14 @@ function readToRivet(bc) {
|
|
|
1350
1711
|
return { tag: "ToRivetKvRequest", val: readToRivetKvRequest(bc) };
|
|
1351
1712
|
case 6:
|
|
1352
1713
|
return { tag: "ToRivetTunnelMessage", val: readToRivetTunnelMessage(bc) };
|
|
1714
|
+
case 7:
|
|
1715
|
+
return { tag: "ToRivetSqliteGetPagesRequest", val: readToRivetSqliteGetPagesRequest(bc) };
|
|
1716
|
+
case 8:
|
|
1717
|
+
return { tag: "ToRivetSqliteCommitRequest", val: readToRivetSqliteCommitRequest(bc) };
|
|
1718
|
+
case 9:
|
|
1719
|
+
return { tag: "ToRivetSqliteCommitStageRequest", val: readToRivetSqliteCommitStageRequest(bc) };
|
|
1720
|
+
case 10:
|
|
1721
|
+
return { tag: "ToRivetSqliteCommitFinalizeRequest", val: readToRivetSqliteCommitFinalizeRequest(bc) };
|
|
1353
1722
|
default: {
|
|
1354
1723
|
bc.offset = offset;
|
|
1355
1724
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -1392,6 +1761,26 @@ function writeToRivet(bc, x) {
|
|
|
1392
1761
|
writeToRivetTunnelMessage(bc, x.val);
|
|
1393
1762
|
break;
|
|
1394
1763
|
}
|
|
1764
|
+
case "ToRivetSqliteGetPagesRequest": {
|
|
1765
|
+
bare.writeU8(bc, 7);
|
|
1766
|
+
writeToRivetSqliteGetPagesRequest(bc, x.val);
|
|
1767
|
+
break;
|
|
1768
|
+
}
|
|
1769
|
+
case "ToRivetSqliteCommitRequest": {
|
|
1770
|
+
bare.writeU8(bc, 8);
|
|
1771
|
+
writeToRivetSqliteCommitRequest(bc, x.val);
|
|
1772
|
+
break;
|
|
1773
|
+
}
|
|
1774
|
+
case "ToRivetSqliteCommitStageRequest": {
|
|
1775
|
+
bare.writeU8(bc, 9);
|
|
1776
|
+
writeToRivetSqliteCommitStageRequest(bc, x.val);
|
|
1777
|
+
break;
|
|
1778
|
+
}
|
|
1779
|
+
case "ToRivetSqliteCommitFinalizeRequest": {
|
|
1780
|
+
bare.writeU8(bc, 10);
|
|
1781
|
+
writeToRivetSqliteCommitFinalizeRequest(bc, x.val);
|
|
1782
|
+
break;
|
|
1783
|
+
}
|
|
1395
1784
|
}
|
|
1396
1785
|
}
|
|
1397
1786
|
function encodeToRivet(x, config) {
|
|
@@ -1411,40 +1800,17 @@ function decodeToRivet(bytes) {
|
|
|
1411
1800
|
}
|
|
1412
1801
|
return result;
|
|
1413
1802
|
}
|
|
1414
|
-
function readSqliteFastPathCapability(bc) {
|
|
1415
|
-
return {
|
|
1416
|
-
protocolVersion: bare.readU16(bc),
|
|
1417
|
-
supportsWriteBatch: bare.readBool(bc),
|
|
1418
|
-
supportsTruncate: bare.readBool(bc)
|
|
1419
|
-
};
|
|
1420
|
-
}
|
|
1421
|
-
function writeSqliteFastPathCapability(bc, x) {
|
|
1422
|
-
bare.writeU16(bc, x.protocolVersion);
|
|
1423
|
-
bare.writeBool(bc, x.supportsWriteBatch);
|
|
1424
|
-
bare.writeBool(bc, x.supportsTruncate);
|
|
1425
|
-
}
|
|
1426
|
-
function read19(bc) {
|
|
1427
|
-
return bare.readBool(bc) ? readSqliteFastPathCapability(bc) : null;
|
|
1428
|
-
}
|
|
1429
|
-
function write19(bc, x) {
|
|
1430
|
-
bare.writeBool(bc, x != null);
|
|
1431
|
-
if (x != null) {
|
|
1432
|
-
writeSqliteFastPathCapability(bc, x);
|
|
1433
|
-
}
|
|
1434
|
-
}
|
|
1435
1803
|
function readProtocolMetadata(bc) {
|
|
1436
1804
|
return {
|
|
1437
1805
|
envoyLostThreshold: bare.readI64(bc),
|
|
1438
1806
|
actorStopThreshold: bare.readI64(bc),
|
|
1439
|
-
maxResponsePayloadSize: bare.readU64(bc)
|
|
1440
|
-
sqliteFastPath: read19(bc)
|
|
1807
|
+
maxResponsePayloadSize: bare.readU64(bc)
|
|
1441
1808
|
};
|
|
1442
1809
|
}
|
|
1443
1810
|
function writeProtocolMetadata(bc, x) {
|
|
1444
1811
|
bare.writeI64(bc, x.envoyLostThreshold);
|
|
1445
1812
|
bare.writeI64(bc, x.actorStopThreshold);
|
|
1446
1813
|
bare.writeU64(bc, x.maxResponsePayloadSize);
|
|
1447
|
-
write19(bc, x.sqliteFastPath);
|
|
1448
1814
|
}
|
|
1449
1815
|
function readToEnvoyInit(bc) {
|
|
1450
1816
|
return {
|
|
@@ -1473,11 +1839,11 @@ function writeToEnvoyCommands(bc, x) {
|
|
|
1473
1839
|
}
|
|
1474
1840
|
function readToEnvoyAckEvents(bc) {
|
|
1475
1841
|
return {
|
|
1476
|
-
lastEventCheckpoints:
|
|
1842
|
+
lastEventCheckpoints: read21(bc)
|
|
1477
1843
|
};
|
|
1478
1844
|
}
|
|
1479
1845
|
function writeToEnvoyAckEvents(bc, x) {
|
|
1480
|
-
|
|
1846
|
+
write21(bc, x.lastEventCheckpoints);
|
|
1481
1847
|
}
|
|
1482
1848
|
function readToEnvoyKvResponse(bc) {
|
|
1483
1849
|
return {
|
|
@@ -1489,6 +1855,46 @@ function writeToEnvoyKvResponse(bc, x) {
|
|
|
1489
1855
|
bare.writeU32(bc, x.requestId);
|
|
1490
1856
|
writeKvResponseData(bc, x.data);
|
|
1491
1857
|
}
|
|
1858
|
+
function readToEnvoySqliteGetPagesResponse(bc) {
|
|
1859
|
+
return {
|
|
1860
|
+
requestId: bare.readU32(bc),
|
|
1861
|
+
data: readSqliteGetPagesResponse(bc)
|
|
1862
|
+
};
|
|
1863
|
+
}
|
|
1864
|
+
function writeToEnvoySqliteGetPagesResponse(bc, x) {
|
|
1865
|
+
bare.writeU32(bc, x.requestId);
|
|
1866
|
+
writeSqliteGetPagesResponse(bc, x.data);
|
|
1867
|
+
}
|
|
1868
|
+
function readToEnvoySqliteCommitResponse(bc) {
|
|
1869
|
+
return {
|
|
1870
|
+
requestId: bare.readU32(bc),
|
|
1871
|
+
data: readSqliteCommitResponse(bc)
|
|
1872
|
+
};
|
|
1873
|
+
}
|
|
1874
|
+
function writeToEnvoySqliteCommitResponse(bc, x) {
|
|
1875
|
+
bare.writeU32(bc, x.requestId);
|
|
1876
|
+
writeSqliteCommitResponse(bc, x.data);
|
|
1877
|
+
}
|
|
1878
|
+
function readToEnvoySqliteCommitStageResponse(bc) {
|
|
1879
|
+
return {
|
|
1880
|
+
requestId: bare.readU32(bc),
|
|
1881
|
+
data: readSqliteCommitStageResponse(bc)
|
|
1882
|
+
};
|
|
1883
|
+
}
|
|
1884
|
+
function writeToEnvoySqliteCommitStageResponse(bc, x) {
|
|
1885
|
+
bare.writeU32(bc, x.requestId);
|
|
1886
|
+
writeSqliteCommitStageResponse(bc, x.data);
|
|
1887
|
+
}
|
|
1888
|
+
function readToEnvoySqliteCommitFinalizeResponse(bc) {
|
|
1889
|
+
return {
|
|
1890
|
+
requestId: bare.readU32(bc),
|
|
1891
|
+
data: readSqliteCommitFinalizeResponse(bc)
|
|
1892
|
+
};
|
|
1893
|
+
}
|
|
1894
|
+
function writeToEnvoySqliteCommitFinalizeResponse(bc, x) {
|
|
1895
|
+
bare.writeU32(bc, x.requestId);
|
|
1896
|
+
writeSqliteCommitFinalizeResponse(bc, x.data);
|
|
1897
|
+
}
|
|
1492
1898
|
function readToEnvoy(bc) {
|
|
1493
1899
|
const offset = bc.offset;
|
|
1494
1900
|
const tag = bare.readU8(bc);
|
|
@@ -1505,6 +1911,14 @@ function readToEnvoy(bc) {
|
|
|
1505
1911
|
return { tag: "ToEnvoyTunnelMessage", val: readToEnvoyTunnelMessage(bc) };
|
|
1506
1912
|
case 5:
|
|
1507
1913
|
return { tag: "ToEnvoyPing", val: readToEnvoyPing(bc) };
|
|
1914
|
+
case 6:
|
|
1915
|
+
return { tag: "ToEnvoySqliteGetPagesResponse", val: readToEnvoySqliteGetPagesResponse(bc) };
|
|
1916
|
+
case 7:
|
|
1917
|
+
return { tag: "ToEnvoySqliteCommitResponse", val: readToEnvoySqliteCommitResponse(bc) };
|
|
1918
|
+
case 8:
|
|
1919
|
+
return { tag: "ToEnvoySqliteCommitStageResponse", val: readToEnvoySqliteCommitStageResponse(bc) };
|
|
1920
|
+
case 9:
|
|
1921
|
+
return { tag: "ToEnvoySqliteCommitFinalizeResponse", val: readToEnvoySqliteCommitFinalizeResponse(bc) };
|
|
1508
1922
|
default: {
|
|
1509
1923
|
bc.offset = offset;
|
|
1510
1924
|
throw new bare.BareError(offset, "invalid tag");
|
|
@@ -1543,6 +1957,26 @@ function writeToEnvoy(bc, x) {
|
|
|
1543
1957
|
writeToEnvoyPing(bc, x.val);
|
|
1544
1958
|
break;
|
|
1545
1959
|
}
|
|
1960
|
+
case "ToEnvoySqliteGetPagesResponse": {
|
|
1961
|
+
bare.writeU8(bc, 6);
|
|
1962
|
+
writeToEnvoySqliteGetPagesResponse(bc, x.val);
|
|
1963
|
+
break;
|
|
1964
|
+
}
|
|
1965
|
+
case "ToEnvoySqliteCommitResponse": {
|
|
1966
|
+
bare.writeU8(bc, 7);
|
|
1967
|
+
writeToEnvoySqliteCommitResponse(bc, x.val);
|
|
1968
|
+
break;
|
|
1969
|
+
}
|
|
1970
|
+
case "ToEnvoySqliteCommitStageResponse": {
|
|
1971
|
+
bare.writeU8(bc, 8);
|
|
1972
|
+
writeToEnvoySqliteCommitStageResponse(bc, x.val);
|
|
1973
|
+
break;
|
|
1974
|
+
}
|
|
1975
|
+
case "ToEnvoySqliteCommitFinalizeResponse": {
|
|
1976
|
+
bare.writeU8(bc, 9);
|
|
1977
|
+
writeToEnvoySqliteCommitFinalizeResponse(bc, x.val);
|
|
1978
|
+
break;
|
|
1979
|
+
}
|
|
1546
1980
|
}
|
|
1547
1981
|
}
|
|
1548
1982
|
function encodeToEnvoy(x, config) {
|
|
@@ -1801,8 +2235,6 @@ export {
|
|
|
1801
2235
|
readKvPutRequest,
|
|
1802
2236
|
readKvRequestData,
|
|
1803
2237
|
readKvResponseData,
|
|
1804
|
-
readKvSqliteTruncateRequest,
|
|
1805
|
-
readKvSqliteWriteBatchRequest,
|
|
1806
2238
|
readKvValue,
|
|
1807
2239
|
readMessageId,
|
|
1808
2240
|
readMessageIndex,
|
|
@@ -1810,9 +2242,30 @@ export {
|
|
|
1810
2242
|
readPreloadedKvEntry,
|
|
1811
2243
|
readProtocolMetadata,
|
|
1812
2244
|
readRequestId,
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
2245
|
+
readSqliteCommitFinalizeOk,
|
|
2246
|
+
readSqliteCommitFinalizeRequest,
|
|
2247
|
+
readSqliteCommitFinalizeResponse,
|
|
2248
|
+
readSqliteCommitOk,
|
|
2249
|
+
readSqliteCommitRequest,
|
|
2250
|
+
readSqliteCommitResponse,
|
|
2251
|
+
readSqliteCommitStageOk,
|
|
2252
|
+
readSqliteCommitStageRequest,
|
|
2253
|
+
readSqliteCommitStageResponse,
|
|
2254
|
+
readSqliteCommitTooLarge,
|
|
2255
|
+
readSqliteDirtyPage,
|
|
2256
|
+
readSqliteFenceMismatch,
|
|
2257
|
+
readSqliteFetchedPage,
|
|
2258
|
+
readSqliteGeneration,
|
|
2259
|
+
readSqliteGetPagesOk,
|
|
2260
|
+
readSqliteGetPagesRequest,
|
|
2261
|
+
readSqliteGetPagesResponse,
|
|
2262
|
+
readSqliteMeta,
|
|
2263
|
+
readSqlitePageBytes,
|
|
2264
|
+
readSqlitePgno,
|
|
2265
|
+
readSqliteStageId,
|
|
2266
|
+
readSqliteStageNotFound,
|
|
2267
|
+
readSqliteStartupData,
|
|
2268
|
+
readSqliteTxid,
|
|
1816
2269
|
readStopActorReason,
|
|
1817
2270
|
readStopCode,
|
|
1818
2271
|
readToEnvoy,
|
|
@@ -1825,6 +2278,10 @@ export {
|
|
|
1825
2278
|
readToEnvoyPing,
|
|
1826
2279
|
readToEnvoyRequestChunk,
|
|
1827
2280
|
readToEnvoyRequestStart,
|
|
2281
|
+
readToEnvoySqliteCommitFinalizeResponse,
|
|
2282
|
+
readToEnvoySqliteCommitResponse,
|
|
2283
|
+
readToEnvoySqliteCommitStageResponse,
|
|
2284
|
+
readToEnvoySqliteGetPagesResponse,
|
|
1828
2285
|
readToEnvoyTunnelMessage,
|
|
1829
2286
|
readToEnvoyTunnelMessageKind,
|
|
1830
2287
|
readToEnvoyWebSocketClose,
|
|
@@ -1842,6 +2299,10 @@ export {
|
|
|
1842
2299
|
readToRivetPong,
|
|
1843
2300
|
readToRivetResponseChunk,
|
|
1844
2301
|
readToRivetResponseStart,
|
|
2302
|
+
readToRivetSqliteCommitFinalizeRequest,
|
|
2303
|
+
readToRivetSqliteCommitRequest,
|
|
2304
|
+
readToRivetSqliteCommitStageRequest,
|
|
2305
|
+
readToRivetSqliteGetPagesRequest,
|
|
1845
2306
|
readToRivetTunnelMessage,
|
|
1846
2307
|
readToRivetTunnelMessageKind,
|
|
1847
2308
|
readToRivetWebSocketClose,
|
|
@@ -1883,8 +2344,6 @@ export {
|
|
|
1883
2344
|
writeKvPutRequest,
|
|
1884
2345
|
writeKvRequestData,
|
|
1885
2346
|
writeKvResponseData,
|
|
1886
|
-
writeKvSqliteTruncateRequest,
|
|
1887
|
-
writeKvSqliteWriteBatchRequest,
|
|
1888
2347
|
writeKvValue,
|
|
1889
2348
|
writeMessageId,
|
|
1890
2349
|
writeMessageIndex,
|
|
@@ -1892,9 +2351,30 @@ export {
|
|
|
1892
2351
|
writePreloadedKvEntry,
|
|
1893
2352
|
writeProtocolMetadata,
|
|
1894
2353
|
writeRequestId,
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
2354
|
+
writeSqliteCommitFinalizeOk,
|
|
2355
|
+
writeSqliteCommitFinalizeRequest,
|
|
2356
|
+
writeSqliteCommitFinalizeResponse,
|
|
2357
|
+
writeSqliteCommitOk,
|
|
2358
|
+
writeSqliteCommitRequest,
|
|
2359
|
+
writeSqliteCommitResponse,
|
|
2360
|
+
writeSqliteCommitStageOk,
|
|
2361
|
+
writeSqliteCommitStageRequest,
|
|
2362
|
+
writeSqliteCommitStageResponse,
|
|
2363
|
+
writeSqliteCommitTooLarge,
|
|
2364
|
+
writeSqliteDirtyPage,
|
|
2365
|
+
writeSqliteFenceMismatch,
|
|
2366
|
+
writeSqliteFetchedPage,
|
|
2367
|
+
writeSqliteGeneration,
|
|
2368
|
+
writeSqliteGetPagesOk,
|
|
2369
|
+
writeSqliteGetPagesRequest,
|
|
2370
|
+
writeSqliteGetPagesResponse,
|
|
2371
|
+
writeSqliteMeta,
|
|
2372
|
+
writeSqlitePageBytes,
|
|
2373
|
+
writeSqlitePgno,
|
|
2374
|
+
writeSqliteStageId,
|
|
2375
|
+
writeSqliteStageNotFound,
|
|
2376
|
+
writeSqliteStartupData,
|
|
2377
|
+
writeSqliteTxid,
|
|
1898
2378
|
writeStopActorReason,
|
|
1899
2379
|
writeStopCode,
|
|
1900
2380
|
writeToEnvoy,
|
|
@@ -1907,6 +2387,10 @@ export {
|
|
|
1907
2387
|
writeToEnvoyPing,
|
|
1908
2388
|
writeToEnvoyRequestChunk,
|
|
1909
2389
|
writeToEnvoyRequestStart,
|
|
2390
|
+
writeToEnvoySqliteCommitFinalizeResponse,
|
|
2391
|
+
writeToEnvoySqliteCommitResponse,
|
|
2392
|
+
writeToEnvoySqliteCommitStageResponse,
|
|
2393
|
+
writeToEnvoySqliteGetPagesResponse,
|
|
1910
2394
|
writeToEnvoyTunnelMessage,
|
|
1911
2395
|
writeToEnvoyTunnelMessageKind,
|
|
1912
2396
|
writeToEnvoyWebSocketClose,
|
|
@@ -1924,6 +2408,10 @@ export {
|
|
|
1924
2408
|
writeToRivetPong,
|
|
1925
2409
|
writeToRivetResponseChunk,
|
|
1926
2410
|
writeToRivetResponseStart,
|
|
2411
|
+
writeToRivetSqliteCommitFinalizeRequest,
|
|
2412
|
+
writeToRivetSqliteCommitRequest,
|
|
2413
|
+
writeToRivetSqliteCommitStageRequest,
|
|
2414
|
+
writeToRivetSqliteGetPagesRequest,
|
|
1927
2415
|
writeToRivetTunnelMessage,
|
|
1928
2416
|
writeToRivetTunnelMessageKind,
|
|
1929
2417
|
writeToRivetWebSocketClose,
|