pub fn serve(
addr: &str,
metadata: ServerAdapterMetadata,
surface_provider: fn() -> PackageSurface,
runner: fn(SurfaceRequest) -> Result<SurfaceResponse, String>,
) -> Result<()>Expand description
Serves the standard local package-surface HTTP API.