:param path: Should have / at the starting compulsorily if not empty :return: Complete url
(self, portno: int, path: str)
| 263 | client.transport.abortConnection() |
| 264 | |
| 265 | def get_url(self, portno: int, path: str) -> str: |
| 266 | """ |
| 267 | :param path: Should have / at the starting compulsorily if not empty |
| 268 | :return: Complete url |
| 269 | """ |
| 270 | assert len(path) > 0 |
| 271 | assert path[0] == "/" or path[0] == "&" |
| 272 | return f"{self.scheme}://{self.host}:{portno}{path}" |
| 273 | |
| 274 | @staticmethod |
| 275 | async def _check_repeat( |
no outgoing calls
no test coverage detected