Skip to main content

cli_stream_handler

Function cli_stream_handler 

Source
pub async fn cli_stream_handler(
    __arg0: State<Arc<RwLock<DaemonState>>>,
    __arg1: Json<CliScanRequest>,
) -> Result<impl IntoResponse, (StatusCode, Json<CliErrorResponse>)>
Expand description

Handle streaming CLI scan request (SSE) - simplified version For now, this just returns the full response as JSON TODO: Implement proper SSE streaming