Version the zrpc protocol using a X-ZRPC-VERSION header

This commit is contained in:
Antonio Scandurra
2021-09-23 15:35:35 +02:00
parent a1ca507498
commit 511cbaa2bd
3 changed files with 36 additions and 20 deletions
+2
View File
@@ -4,3 +4,5 @@ mod peer;
pub mod proto;
pub use conn::Connection;
pub use peer::*;
pub const VERSION: u32 = 0;