getCoreProtocolVersion method

Future<int> getCoreProtocolVersion()

Returns the version of the Core-protocol the client is using.

Implementation

Future<int> getCoreProtocolVersion() async {
  final hex = await _makeRPCCall<String>('xcb_protocolVersion');
  return hexToInt(hex).toInt();
}