Skip to main content

version_handler

Function version_handler 

Source
pub(crate) async fn version_handler() -> Json<Value>
Expand description

REST endpoint reporting the server’s build version and process id.

Returns a JSON object: { "version": "5.0.0", "pid": 1234 }.