mysterium-vpn-js
Version:
Javascript SDK for Mysterium node
18 lines (17 loc) • 522 B
TypeScript
/**
* Copyright (c) 2020 BlockDev AG
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { Tokens } from '../common/tokens';
export interface ConnectionStatistics {
bytesReceived: number;
bytesSent: number;
throughputSent: number;
throughputReceived: number;
duration: number;
tokensSpent: number;
spentTokens: Tokens;
}
export declare function parseConnectionStatistics(data: any): ConnectionStatistics;