[go: up one dir, main page]

File: txtorcon-socks.rst

package info (click to toggle)
txtorcon 20.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,644 kB
  • sloc: python: 17,429; makefile: 229
file content (72 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.. _socks:

:mod:`txtorcon.socks` Module
============================

SOCKS5 Errors
-------------

SocksError
~~~~~~~~~~
.. autoclass:: txtorcon.socks.SocksError


GeneralServerFailureError
~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.GeneralServerFailureError


ConnectionNotAllowedError
~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.ConnectionNotAllowedError


NetworkUnreachableError
~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.NetworkUnreachableError


HostUnreachableError
~~~~~~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.HostUnreachableError


ConnectionRefusedError
~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.ConnectionRefusedError


TtlExpiredError
~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.TtlExpiredError


CommandNotSupportedError
~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.CommandNotSupportedError


AddressTypeNotSupportedError
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. autoclass:: txtorcon.socks.AddressTypeNotSupportedError


.. note::
    The following sections present low-level APIs. If you are able
    to work with :class:`txtorcon.Tor`'s corresponding high-level
    APIs, you should do so.


resolve
-------
.. autofunction:: txtorcon.socks.resolve


resolve_ptr
-----------
.. autofunction:: txtorcon.socks.resolve_ptr


TorSocksEndpoint
----------------
.. autoclass:: txtorcon.socks.TorSocksEndpoint