mirror of
https://github.com/Dasemu/Synapse.git
synced 2026-11-26 15:26:17 +00:00
feat(sync): protocol v2 for the put_type_def and put_module_data ops
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c9ebb4fd30
commit
523f3b28fa
1 file changed
+1
-1
@@ -4,7 +4,7 @@ use serde::{Deserialize, Serialize};
|
||||
use synapse_core::{Backlink, Block, Op, OpRecord, Page};
|
||||
|
||||
/// Bumped on incompatible changes. Sent as `X-Synapse-Protocol` by clients.
|
||||
pub const PROTOCOL_VERSION: u32 = 1;
|
||||
pub const PROTOCOL_VERSION: u32 = 2;
|
||||
pub const HEADER_PROTOCOL: &str = "x-synapse-protocol";
|
||||
/// Bytes already stored of a partially uploaded blob (response header).
|
||||
pub const HEADER_UPLOAD_OFFSET: &str = "upload-offset";
|
||||
|
||||
Reference in new issue
Block a user