From b12a5601c3ffa40de7502b2680ba584bc284dc31 Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Wed, 5 Jan 2022 16:06:39 +0100 Subject: [PATCH] make getServerVersion able to return more informational output --- connection.capnp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/connection.capnp b/connection.capnp index ef6725b..1bb125c 100644 --- a/connection.capnp +++ b/connection.capnp @@ -26,7 +26,10 @@ interface Bootstrap { getAPIVersion @0 () -> ( version : Version ); - getServerVersion @1 () -> ( version : Version ); + getServerRelease @1 () -> ( name :Text, release :Text ); + # Returns the server implementation name and version/build number + # Designed only for human-facing debugging output so should be informative over machine-readable + # Example: ( name = "bffhd", release = "0.3.1-f397e1e [rustc 1.57.0 (f1edd0429 2021-11-29)]") authenticationSystem @2 () -> ( authenticationSystem : AuthenticationSystem );