pub fn submit_request(pool_handle: PoolHandle, request_json: &str) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();

    let err = _submit_request(command_handle, pool_handle, request_json, cb);

    ResultHandler::str(command_handle, err, receiver)
}
/// Publishes request message to validator pool (no signing, unlike sign_and_submit_request).
///
/// The request is sent to the validator pool as is. It's assumed that it's already prepared.
///
/// # Arguments
/// * `pool_handle` - pool handle (created by Pool::open_ledger).
/// * `request_json` - Request data json.
///
/// # Returns
/// Request result as json.
Publishes request message to validator pool (no signing, unlike sign_and_submit_request).
The request is sent to the validator pool as is. It's assumed that it's already prepared.
Publishes request message to validator pool ( no signing unlike sign_and_submit_request ) . The request is sent to the validator pool as is . It ' s assumed that it ' s already prepared .
pub fn submit_request(pool_handle: PoolHandle, request_json: &str) -> Box<dyn Future<Item=String, Error=IndyError>> {
    let (receiver, command_handle, cb) = ClosureHandler::cb_ec_string();
    let err = _submit_request(command_handle, pool_handle, request_json, cb);
    ResultHandler::str(command_handle, err, receiver)
}
pub fn submit_request ( pool_handle : PoolHandle , request_json : & str ) -> Box < dyn Future < Item = String , Error = IndyError > > { let ( receiver , command_handle , cb ) = ClosureHandler :: cb_ec_string ( ) ; let err = _submit_request ( command_handle , pool_handle , request_json , cb ) ; ResultHandler :: str ( command_handle , err , receiver ) }
Publishes request message to validator pool (no signing, unlike sign_and_submit_request).
Publishes request message to validator pool ( no signing unlike sign_and_submit_request ) .
pool_handle
PoolHandle
request_json
&str
Request result as json.
Request result as json .
pool_handle
PoolHandle
request_json
&str