UNPKG

@localzet/xtls-sdk

Version:

TypeScript SDK for XRAY/AURA Core

27 lines 1.03 kB
import { QueryStatsResponse } from '../../../xray-protos/app/stats/command/command'; import { IOutboundStat } from './interfaces'; /** * Model class for handling outbound statistics response data from the Xray server. */ export declare class GetOutboundStatsResponseModel { /** * The outbound statistics data, or null if no data is available. * Contains traffic statistics (uplink/downlink) for a specific outbound connection. */ outbound: IOutboundStat | null; /** * Creates a new GetOutboundStatsResponseModel instance. * * @param data - The raw query stats response from the Xray server */ constructor(data: QueryStatsResponse); /** * Parses the raw stats response data into formatted outbound statistics. * * @param data - The raw query stats response to parse * @returns An array of formatted outbound statistics containing traffic data * @private */ private parseData; } //# sourceMappingURL=get-outbound-stats.response.model.d.ts.map