mtcute/packages/http-proxy/README.md
2022-08-28 17:56:56 +03:00

17 lines
297 B
Markdown

# @mtcute/http-proxy
HTTP(s) proxy transport for mtcute.
## Usage
```typescript
import { HttpProxyTcpTransport } from '@mtcute/socks-proxy'
const tg = new TelegramClient({
// ...
transport: () => new HttpProxyTcpTransport({
host: 'localhost',
port: 1080,
})
})
```