Hey! I had the same issue with resty use socks5 proxy. Honestly, the docs are kinda vague, but I managed to get it working by using a custom dialer. Here’s a snippet:
```go
dialer := proxy.FromEnvironment()
transport := &http.Transport{DialContext: dialer.DialContext}
client := resty.New().SetTransport(transport)
```
It’s not the cleanest, but it works. Let me know if you need more details!
```go
dialer := proxy.FromEnvironment()
transport := &http.Transport{DialContext: dialer.DialContext}
client := resty.New().SetTransport(transport)
```
It’s not the cleanest, but it works. Let me know if you need more details!
