Function serve_plugin_arc_with_config

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub async fn serve_plugin_arc_with_config(
    plugin: Arc<dyn WorkerPlugin>,
    config: WorkerServerConfig,
) -> Result<()>

Serves a shared worker plugin using explicit endpoint and authentication configuration.

This is primarily useful for tests and custom worker launchers. Relay-spawned workers should normally use serve_plugin or serve_plugin_arc.

Errors

Returns an error when the endpoint configuration is invalid or the gRPC server fails.