mtcute/packages/socks-proxy
2023-09-24 01:32:22 +03:00
..
index.ts chore: changed prettier width to 120 2023-09-24 01:32:22 +03:00
package.json fix: client and updates fixes 2023-08-12 22:40:37 +03:00
README.md docs: removed typedoc-plugin-coverage 2022-08-28 17:56:56 +03:00
tsconfig.json build(docs): api reference generation improvements 2022-08-24 23:37:26 +03:00
typedoc.js chore: code quality improvements 2023-06-05 00:30:48 +00:00

@mtcute/socks-proxy

Socks4/5 proxy transport for mtcute.

Usage

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

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