async def _response_handler(self):
        """监听响应数据的协程函数.`connect`被调用后会被创建为一个协程并放入事件循环."""
        if self.debug is True:
            if self.debug is True:
                print("listenning response!")
        while True:
            try:
                res = await self.reader.readuntil(self.SEPARATOR)
            except:
                raise
            else:
                response = self.decoder(res)
                self._status_code_check(response)
async def _response_handler ( self ) : if self . debug is True : if self . debug is True : print ( "listenning response!" ) while True : try : res = await self . reader . readuntil ( self . SEPARATOR ) except : raise else : response = self . decoder ( res ) self . _status_code_check ( response )
监听响应数据的协程函数.`connect`被调用后会被创建为一个协程并放入事件循环.