Skip to content

Support for proxy #117

Open
Open
@nicolas-f

Description

@nicolas-f

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:

import ipfsapi

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions