Skip to main content

reload_plugin

Function reload_plugin 

Source
pub async fn reload_plugin(
    __arg0: State<AdminState>,
    __arg1: Json<ReloadPluginRequest>,
) -> Json<ApiResponse<Value>>
Expand description

Reload a plugin by removing and re-adding it to the registry

This resets the plugin’s internal state. Note that this performs an in-memory reload — the plugin binary is not re-read from disk. To reload from disk, use the CLI plugin reload command.