mtcute/packages/http-proxy
2023-10-23 11:45:17 +03:00
..
index.ts fix: ts 2023-10-23 11:45:17 +03:00
package.json ESM + end-to-end tests (#11) 2023-10-16 19:23:53 +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.js chore: code quality improvements 2023-06-05 00:30:48 +00:00

@mtcute/http-proxy

HTTP(s) proxy transport for mtcute.

Usage

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

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