Skip to main content

run_server

Function run_server 

Source
pub fn run_server(port: u16) -> Result<(), Box<dyn Error>>
Expand description

Runs the local API server on the given port.

Blocks until SIGINT/SIGTERM is received.