@remnawave/xtls-sdk
Version:
A Typescript SDK for XRAY (XTLS) Core GRPC Api
17 lines • 668 B
TypeScript
import { Channel, ChannelOptions, ChannelCredentials } from 'nice-grpc';
import { HandlerService } from './src/handler/handler.service';
import { RouterService } from './src/router/router.service';
import { StatsService } from './src/stats/stats.service';
export interface XtlsApiOptions {
connectionUrl: string;
options?: ChannelOptions;
credentials?: ChannelCredentials;
}
export declare class XtlsApi {
readonly channel: Channel;
readonly stats: StatsService;
readonly handler: HandlerService;
readonly router: RouterService;
constructor({ connectionUrl, options, credentials }: XtlsApiOptions);
}
//# sourceMappingURL=index.d.ts.map