make getServerVersion able to return more informational output

This commit is contained in:
Nadja Reitzenstein 2022-01-05 16:06:39 +01:00
parent f1bd45141e
commit b12a5601c3

View File

@ -26,7 +26,10 @@ interface Bootstrap
{ {
getAPIVersion @0 () -> ( version : Version ); 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 ); authenticationSystem @2 () -> ( authenticationSystem : AuthenticationSystem );