receive_all_data Method
Reads data from the connection.
Syntax
def receive_all_data(size: int) -> None: ...
Remarks
Use this method to read Size bytes from the connection. The method will block until the requested number of bytes is received.
Use output_bytes (or output_string) to access the received data.
Use receive_data method to read all the data there is and return without waiting for the whole piece.