759 B
759 B
XTLS SDK
A TypeScript SDK for interacting with Xray Core via gRPC API.
Example:
import { XrayClient } from '@ruject/xray-core';
const client = new XrayClient('127.0.0.1', '10000');
const req = await client.handler.addVmessUser({
email: 'test@example.com',
level: 0,
tag: 'vmess-in'
});
console.log(req.isOk)