# getRequestThroughSocks5Proxy

### 🎮 Méthode

```coffeescript
developer:getRequestThroughSocks5Proxy(url, host, port, username, password, headersName, headersContent)
```

### 📝 Arguments

| Nom            | Type     | Description                               |             |
| -------------- | -------- | ----------------------------------------- | ----------- |
| url            | string   | URL                                       | Obligatoire |
| host           | string   | Adresse IP du proxy.                      | Obligatoire |
| port           | int      | Port.                                     | Obligatoire |
| username       | string   | Utilisateur.                              | Obligatoire |
| password       | string   | Mot de passe.                             | Obligatoire |
| headersName    | {string} | Liste des headers à envoyer.              | Facultatif  |
| headersContent | {string} | Liste des contenus des headers à envoyer. | Facultatif  |

### 💎 Valeur de retour

| Type   | Description             |
| ------ | ----------------------- |
| string | Résultat de la requête. |

### Exemple

```lua
developer:getRequestThroughSocks5Proxy("https://httpbin.org/ip", "185.211.211.211", 2000, "user", "pass", {"User-agent"}, {"AnkaBot"})

-- Sans les headers
developer:getRequestThroughSocks5Proxy("https://httpbin.org/ip", "185.211.211.211", 2000, "user", "pass")
```
