mtcute/packages/http-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 chore: code quality improvements 2023-06-05 00:30:48 +00: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/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,
    })
})