imroc / req

Simple Go HTTP client with Black Magic
https://req.cool
MIT License
4.12k stars 334 forks source link

Is the req.Client thread safe? #328

Closed ArshdeepSingh18 closed 4 months ago

ArshdeepSingh18 commented 4 months ago

Hello,

Is the req.Client thread-safe? I have concurrent HTTP requests, Can they all use the same request client?

Thanks, Arshdeep

imroc commented 4 months ago

Yes, it is safe to send HTTP requests concurrently with the same req.Client.