Update documentation
This commit is contained in:
parent
1c47b53b4c
commit
7538f37596
@ -61,6 +61,13 @@ if __name__ == '__main__':
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### validate_socks
|
||||||
|
SOCKS5 proxies can be tested with the `validate_socks` method. The method takes a proxy
|
||||||
|
string as its only argument. It returns a `requests.Response` object if the request is successful
|
||||||
|
with no issues, otherwise it will raise an exception and the caller can decide how to proceed.
|
||||||
|
|
||||||
|
For an example implementation, see [main.py](main.py).
|
||||||
|
|
||||||
## Testing
|
## Testing
|
||||||
```
|
```
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user