mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-21 18:15:24 +00:00
42 lines
495 B
Plaintext
42 lines
495 B
Plaintext
namespace Yesstr;
|
|
|
|
|
|
|
|
// FilterSync
|
|
|
|
table RequestSync {
|
|
filter: string; // only required for first in a sequence
|
|
reqsEncoded: [ubyte];
|
|
}
|
|
|
|
table ResponseSync {
|
|
respsEncoded: [ubyte];
|
|
}
|
|
|
|
|
|
|
|
// Request/Response wrappers
|
|
|
|
union RequestPayload {
|
|
RequestSync,
|
|
}
|
|
|
|
union ResponsePayload {
|
|
ResponseSync,
|
|
}
|
|
|
|
table Request {
|
|
requestId: uint64;
|
|
payload: RequestPayload;
|
|
}
|
|
|
|
table Response {
|
|
requestId: uint64;
|
|
payload: ResponsePayload;
|
|
}
|
|
|
|
|
|
|
|
table Empty {}
|
|
root_type Empty;
|