class documentation
Test `treq.api.default_pool`.
Method | set |
Undocumented |
Method | test |
When *persistent=True* or *persistent=None* is passed the pool created is cached as the global pool. |
Method | test |
When *persistent=False* is passed a non-persistent pool is created. |
Method | test |
When *persistent=False* is passed a new pool is returned each time. |
Method | test |
When *persistent=False* is passed the resulting pool is not stored as the global pool. |
Method | test |
When *persistent=None* is passed a _persistent_ pool is created for backwards compatibility. |
Method | test |
When *persistent=True* is passed a persistent pool is created and stored as the global pool. |
Method | test |
When the user passes a pool it is returned directly. The *persistent* argument is ignored. It is not cached as the global pool. |
Instance Variable | reactor |
Undocumented |
When *persistent=True* or *persistent=None* is passed the pool created is cached as the global pool.