onRequestVersion method
Implementation
void onRequestVersion(HttpRequest request) {
request.response.headers.clear();
KrakenInfo krakenInfo = getKrakenInfo();
_writeJSONObject(request, {
'Browser': 'Kraken/${krakenInfo.appVersion}',
'Protocol-Version': '1.3',
'User-Agent': krakenInfo.userAgent,
});
}