(self, family, stream, tls=False)
| 64 | |
| 65 | class StreamSocket(dns._asyncbackend.StreamSocket): |
| 66 | def __init__(self, family, stream, tls=False): |
| 67 | super().__init__(family, socket.SOCK_STREAM) |
| 68 | self.stream = stream |
| 69 | self.tls = tls |
| 70 | |
| 71 | async def sendall(self, what, timeout): |
| 72 | with _maybe_timeout(timeout): |