mtcute/packages/http-proxy
2024-02-19 18:36:06 +00:00
..
index.ts chore: removed dispatcher dep from core (again), improved build script 2023-11-12 01:17:20 +03:00
package.json v0.7.0 2024-02-19 18:36:06 +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/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,
    })
})