Skip to main content

ping

Function ping 

Source
pub async fn ping(
    __arg0: State<RestState>,
) -> Result<Json<Value>, (StatusCode, Json<Value>)>
Expand description

v1.4.74 A2 BUG-013 fix: GET /api/ping — Futu-specific health check

对齐 MCP futu_ping。返回 {ok: bool, gateway: string, version: string}。 不同于 /health(进程 alive 就 200),本 endpoint 检查 gateway dispatch 层是否 ready(能接受新请求)。

对齐 Python SDK 层 /api/ping 风格。