Skip to main content

start_api

Function start_api 

Source
pub async fn start_api(addr: &str) -> Result<()>
Expand description

Rejects the unsupported API startup hook.

This function deliberately returns an error because it does not bind addr. Callers that need a live server may serve router with their own Tokio listener until the transport lifecycle is stabilized.