Skip to main content

serve

Function serve 

Source
pub async fn serve(config: ServerConfig) -> Void
Expand description

Runs the central server until a shutdown signal (Ctrl-C) is received.

ยงErrors

Returns an error if the store cannot be opened, the bind address is unavailable, or the underlying HTTP server fails.