pub async fn console_node_ws(
ctx: RequestCtx,
__arg1: Path<String>,
__arg2: Query<ConsoleQuery>,
ws: WebSocketUpgrade,
) -> Result<impl IntoResponse, (StatusCode, Json<ErrorResponse>)>Expand description
WS /api/v1/nodes/{xname}/console — attach an interactive PTY console to a node via WebSocket.