mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-22 02:22:50 +00:00
initial commit
This commit is contained in:
41
fbs/yesstr.fbs
Normal file
41
fbs/yesstr.fbs
Normal file
@ -0,0 +1,41 @@
|
||||
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;
|
Reference in New Issue
Block a user