Skip to main content

rpc_endpoint

Function rpc_endpoint 

Source
pub async fn rpc_endpoint(
    __arg0: State<AppState>,
    __arg1: Json<RequestEnvelope>,
) -> impl IntoResponse
Expand description

POST /rpc — 统一 RPC 入口(内部 dispatch,不走网络回环)。