Skip to main content

handle_unload_lib

Function handle_unload_lib 

Source
pub async fn handle_unload_lib(
    req: HttpRequest,
    body: String,
    state: Data<AppState>,
) -> Result<HttpResponse, HaystackError>
Expand description

POST /api/unloadLib — unload a library by name.

Request grid must have a name (Str) column. Returns a single-row grid with unloaded (the library name).