Method
injectConnectionClasses
(
cls,
httpConnectionClass: type[HTTPRequestsConnectionClass],
httpsConnectionClass: type[HTTPSRequestsConnectionClass],
)
Source from the content-addressed store, hash-verified
| 298 | |
| 299 | @classmethod |
| 300 | def injectConnectionClasses( |
| 301 | cls, |
| 302 | httpConnectionClass: type[HTTPRequestsConnectionClass], |
| 303 | httpsConnectionClass: type[HTTPSRequestsConnectionClass], |
| 304 | ) -> None: |
| 305 | cls.__persist = False |
| 306 | cls.__httpConnectionClass = httpConnectionClass |
| 307 | cls.__httpsConnectionClass = httpsConnectionClass |
| 308 | |
| 309 | @classmethod |
| 310 | def resetConnectionClasses(cls) -> None: |
Tested by
no test coverage detected