code: async def read_frame(self, max_size: int) -> Frame:
          
          frame = await Frame.read(
              self.reader.readexactly,
              mask=not self.is_client,
              max_size=max_size,
              extensions=self.extensions,
          )
          logger.debug("%s < %r", self.side, frame)
          return frame
docs: Read a single frame from the connection.