23 lines
575 B
Markdown
23 lines
575 B
Markdown
---
|
|
title: setProxy
|
|
description: Sets proxy server for network requests. Can be called before authorization
|
|
---
|
|
## Method: setProxy
|
|
[Back to methods index](index.md)
|
|
|
|
|
|
YOU CANNOT USE THIS METHOD IN MADELINEPROTO
|
|
|
|
|
|
Sets proxy server for network requests. Can be called before authorization
|
|
|
|
### Parameters:
|
|
|
|
| Name | Type | Required | Description |
|
|
|----------|---------------|----------|-------------|
|
|
|proxy|[CLICK ME Proxy](../types/Proxy.md) | Optional|The proxy to use. You can specify null to remove proxy server|
|
|
|
|
|
|
### Return type: [Ok](../types/Ok.md)
|
|
|