diff options
author | mathieui <mathieui@mathieui.net> | 2021-02-04 18:31:43 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2021-02-04 18:31:43 +0100 |
commit | 650e1a2ed5d3c665e511c5fdac300e9a57d242bb (patch) | |
tree | 7f616d02ecbd1401565c561698407e8568f3c914 /docs/getting_started | |
parent | c486c0e8219da4cdea6988b2948ffc93cb381bec (diff) | |
download | slixmpp-650e1a2ed5d3c665e511c5fdac300e9a57d242bb.tar.gz slixmpp-650e1a2ed5d3c665e511c5fdac300e9a57d242bb.tar.bz2 slixmpp-650e1a2ed5d3c665e511c5fdac300e9a57d242bb.tar.xz slixmpp-650e1a2ed5d3c665e511c5fdac300e9a57d242bb.zip |
docs/xmlstream: remove HTTP proxy references
It has been removed years ago.
Diffstat (limited to 'docs/getting_started')
-rw-r--r-- | docs/getting_started/index.rst | 2 | ||||
-rw-r--r-- | docs/getting_started/proxy.rst | 40 |
2 files changed, 0 insertions, 42 deletions
diff --git a/docs/getting_started/index.rst b/docs/getting_started/index.rst index 97c34a22..cbad1be8 100644 --- a/docs/getting_started/index.rst +++ b/docs/getting_started/index.rst @@ -9,7 +9,5 @@ Getting Started (with examples) component presence muc - proxy scheduler iq - diff --git a/docs/getting_started/proxy.rst b/docs/getting_started/proxy.rst deleted file mode 100644 index 22439d4e..00000000 --- a/docs/getting_started/proxy.rst +++ /dev/null @@ -1,40 +0,0 @@ -.. _proxy: - -========================= -Enable HTTP Proxy Support -========================= - -.. note:: - - If you have any issues working through this quickstart guide - join the chat room at `slixmpp@muc.poez.io - <xmpp:slixmpp@muc.poez.io?join>`_. - -In some instances, you may wish to route XMPP traffic through -an HTTP proxy, probably to get around restrictive firewalls. -Slixmpp provides support for basic HTTP proxying with DIGEST -authentication. - -Enabling proxy support is done in two steps. The first is to instruct Slixmpp -to use a proxy, and the second is to configure the proxy details: - -.. code-block:: python - - xmpp = ClientXMPP(...) - xmpp.use_proxy = True - xmpp.proxy_config = { - 'host': 'proxy.example.com', - 'port': 5555, - 'username': 'example_user', - 'password': '******' - } - -The ``'username'`` and ``'password'`` fields are optional if the proxy does not -require authentication. - - -The Final Product ------------------ - -.. include:: ../../examples/proxy_echo_client.py - :literal: |