[][src]Function indyrs::pool::set_protocol_version

pub fn set_protocol_version(
    protocol_version: usize
) -> Box<dyn Future<Item = (), Error = IndyError>>

Set PROTOCOL_VERSION to specific version.

There is a global property PROTOCOL_VERSION that used in every request to the pool and specified version of Indy Node which Libindy works.

By default PROTOCOL_VERSION=1.

Arguments

  • protocol_version - Protocol version will be used: 1 - for Indy Node 1.3 2 - for Indy Node 1.4