Proper way for python request to timeout?

前端 未结 0 885
轻奢々
轻奢々 2020-12-04 09:37

I am currently trying to figure out what the proper way is identify a timeout.

async with bot.session.get(url + response) as resp:
    resp = await resp.text(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题