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 =
|
|
AMQP =
|
Instance Variables | |
host Host name, ipv6 literal or ipv4 dotted quad. |
|
port Integer port. |
|
host_port Returns host:port |
|
password Password |
|
scheme Url scheme e.g. |
|
user Username |
Properties | |
path | |
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 |
hostHost name, ipv6 literal or ipv4 dotted quad.
|
portInteger port.
|
schemeUrl scheme e.g. 'amqp' or 'amqps' |
Property Details |
path
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 15 15:31:09 2019 | http://epydoc.sourceforge.net |