Type Alias: SearxngOutputMiddlewareFn
ts
type SearxngOutputMiddlewareFn = (
ctx: SearxngResponseContext,
next: NextFn,
) => void | Promise<void>;Defined in: batteries/tools/searxng/index.ts:132
An output-pipeline stage. Onion middleware over SearxngResponseContext.
Parameters
| Parameter | Type |
|---|---|
ctx | SearxngResponseContext |
next | NextFn |
Returns
void | Promise<void>