0.12.0 ā¢ Published 3 days ago
@mtcute/http-proxy v0.12.0
@mtcute/http-proxy
š API Reference
HTTP(s) proxy transport for mtcute.
Usage
import { HttpProxyTcpTransport } from '@mtcute/socks-proxy'
const tg = new TelegramClient({
// ...
transport: () => new HttpProxyTcpTransport({
host: 'localhost',
port: 1080,
})
})