pub async fn start_server_with_api_key<P: AsRef<Path> + Send + 'static>(
path: P,
addr: &str,
shutdown_rx: Receiver<()>,
api_key: String,
) -> Result<(), Box<dyn Error>>Expand description
Start server (insecure) requiring an API key for all RPCs.