mtcute/packages/socks-proxy
2023-12-26 22:12:09 +00:00
..
index.ts docs: updated typedoc, added ci, fixed some docs 2023-10-27 14:25:21 +03:00
package.json v0.4.0 2023-12-26 22:12:09 +00:00
README.md docs: updated packages readmes 2023-11-01 14:05:45 +03:00
tsconfig.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
typedoc.cjs chore: moved most configs to .config 2023-11-13 13:28:11 +03:00

@mtcute/socks-proxy

📖 API Reference

Socks4/5 proxy transport for mtcute.

Usage

import { SocksTcpTransport } from '@mtcute/socks-proxy'

const tg = new TelegramClient({
    // ...
    transport: () => new SocksTcpTransport({
        host: 'localhost',
        port: 1080,
    })
})