Skip to main content

serve

Function serve 

Source
pub async fn serve(
    runtime: CoreServerlessRuntime,
    listener: ListenerConfig,
    shutdown: CancellationToken,
) -> Result<()>
Expand description

Bind a TCP listener and serve runtime over HTTP until shutdown fires.