Skip to main content

send_request

Function send_request 

Source
async fn send_request<R: Request>(
    session: &Session,
    request: &R,
) -> Result<RpcOutcome, ErrorData>
Expand description

Sends a request of the API to a session and waits for its outcome.

§Errors

Fails if the request can’t be serialized.