UNPKG

@localzet/xtls-sdk

Version:

TypeScript SDK for XRAY/AURA Core

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