mtcute/packages/socks-proxy
2024-08-24 22:55:25 +03:00
..
index.ts chore: enabled isolatedDeclarations 2024-08-18 09:44:26 +03:00
package.json v0.16.7 2024-08-21 17:56:12 +00:00
README.md docs: updated packages readmes 2023-11-01 14:05:45 +03:00
tsconfig.json build: build with vite (initial) 2024-08-24 22:55:25 +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,
    })
})