| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Url
Simple URL parser/constructor, handles URLs of the form:
<scheme>://<user>:<password>@<host>:<port>/<path>
All components can be None if not specified in the URL string.
The port can be specified as a service name, e.g. 'amqp' in the URL string but Url.port always gives the integer value.
Warning: The placement of user and password in URLs is not recommended. It can result in credentials leaking out in program logs. Use connection configuration attributes instead.
| Nested Classes | |
|
Port An integer port number that can be constructed from a service name string |
|
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Variables | |
AMQPS = "amqps"
|
|
AMQP = "amqp"
|
|
| Instance Variables | |||
|
|||
|
host Host name, ipv6 literal or ipv4 dotted quad. |
|||
|
host_port Returns host:port |
|||
|
password Password |
|||
|
scheme Url scheme e.g. |
|||
|
user Username |
|||
| Properties | |
|
Inherited from |
| Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
|
str(x)
|
repr(x)
|
Fill in missing values (scheme, host or port) with defaults
|
| Instance Variable Details |
|
schemeUrl scheme e.g. 'amqp' or 'amqps' |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Mon Mar 23 21:42:38 2020 | http://epydoc.sourceforge.net |