def send(self, response: Response, connection): self.server_socket.sendto(response.encode(), connection)