ipfs-shipyard / ipfs-shipyard/py-ipfs-http-client

Support for proxy

Open
#117 4 comments 0 reactions 1 assignee Claimed by @ntninja View on GitHub
difficulty:moderate enhancement help wanted
Dominant language
Python
Stars
685
Forks
200
PR merge metrics
No merged PRs in 30d

Description

Hi,

You are using requests libs. There is an option to use http or socks proxy in this library.

http://docs.python-requests.org/en/master/user/advanced/#proxies

Do you have any tips in order to use ipfsapi with a proxy configuration ?

ex:

```python
import ipfsapi

proxies = {
'http': 'socks5://@localhost:5555',
'https': 'socks5://@localhost:5555'
}
api = ipfsapi.connect('myserveur.org', 5002, proxies=proxies)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.