pub unsafe extern "C" fn cass_cluster_set_protocol_version(
cluster: *mut CassCluster,
protocol_version: c_int
) -> CassError
Expand description
Sets the protocol version. This will automatically downgrade to the lowest supported protocol version.
Default: CASS_PROTOCOL_VERSION_V4
@public @memberof CassCluster
@param[in] cluster @param[in] protocol_version @return CASS_OK if successful, otherwise an error occurred.
@see cass_cluster_set_use_beta_protocol_version()