Skip to main content

serve_plugin

Function serve_plugin 

Source
pub async fn serve_plugin(
    input: impl BufRead,
    output: impl Write,
    kind: PluginKind,
) -> Result<()>
Expand description

Serve one connection as the registered plugin kind.

Unlike serve, the initialize request’s config is handed directly to that plugin; the process command has already selected the kind it hosts.