mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 16:04:51 +00:00
Update Proxy page
This commit is contained in:
parent
2c917fa9ae
commit
03916a4792
1 changed files with 28 additions and 28 deletions
|
|
@ -7,7 +7,7 @@ through an intermediate SOCKS5 proxy server.
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|
||||||
To use Pyrogram with a proxy, simply append the following to your ``config.ini`` file and replace the values
|
- To use Pyrogram with a proxy, simply append the following to your ``config.ini`` file and replace the values
|
||||||
with your own settings:
|
with your own settings:
|
||||||
|
|
||||||
.. code-block:: ini
|
.. code-block:: ini
|
||||||
|
|
@ -25,7 +25,7 @@ with your own settings:
|
||||||
- ``1``, ``yes``, ``True`` or ``on``: Enables the proxy
|
- ``1``, ``yes``, ``True`` or ``on``: Enables the proxy
|
||||||
- ``0``, ``no``, ``False`` or ``off``: Disables the proxy
|
- ``0``, ``no``, ``False`` or ``off``: Disables the proxy
|
||||||
|
|
||||||
Alternatively, you can setup your proxy without the need of the *config.ini* file by using the *proxy* parameter
|
- Alternatively, you can setup your proxy without the need of the *config.ini* file by using the *proxy* parameter
|
||||||
in the Client class:
|
in the Client class:
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue