Function jsonrpsee_ws_client::helpers::process_single_response[][src]

pub fn process_single_response(
    manager: &mut RequestManager,
    response: JsonRpcResponse<'_, JsonValue>,
    max_capacity_per_subscription: usize
) -> Result<Option<RequestMessage>, Error>

Process a response from the server.

Returns Ok(None) if the response was successfully sent. Returns Ok(Some(_)) if the response got an error but could be handled. Returns Err(_) if the response couldn’t be handled.