def METHOD_NAME(self) -> bytes:
    """
    Simple cases can use `.read()` as a convience method for consuming
    the entire stream and then closing it.
    Example:
        status_code, headers, stream, extensions = transport.handle_request(...)
        body = stream.read()
    """
    try:
        return b"".join([part for part in self])
    finally:
        self.close()