req
req copied to clipboard
Keep-Alive 长连接下,SetTimeout()错误断开
response = Requestclient.Client.R(). SetBody(body). DisableAutoReadResponse(). MustPost(link) SSE持续响应,超过默认的120s后仍会会直接掐断HTTP连接
https://github.com/lib4u/grequest yiu can use this also