Skip to main content

serve

Function serve 

Source
pub async fn serve(
    processor: Arc<SignalProcessor>,
    host: &str,
    port: u16,
) -> Result<()>
Expand description

Start the HTTP server, binding to host:port.

Blocks until the server shuts down.