mtcute/packages/socks-proxy
2023-10-30 14:59:34 +03:00
..
index.ts docs: updated typedoc, added ci, fixed some docs 2023-10-27 14:25:21 +03:00
package.json chore: set version to 0.1.0 2023-10-30 14:59:34 +03:00
README.md docs: removed typedoc-plugin-coverage 2022-08-28 17:56:56 +03:00
tsconfig.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +03:00
typedoc.cjs docs: updated typedoc, added ci, fixed some docs 2023-10-27 14:25:21 +03: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,
    })
})