Function libindy_sys::indy_set_protocol_version [−][src]
pub unsafe extern "C" fn indy_set_protocol_version(
command_handle: indy_handle_t,
protocol_version: indy_u64_t,
cb: indy_empty_cb
) -> indy_error_t
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.
#Params protocol_version: Protocol version will be used: 1 - for Indy Node 1.3 2 - for Indy Node 1.4 and greater
#Returns Error code
#Errors Common*