Skip to content
This repository was archived by the owner on May 3, 2023. It is now read-only.

Latest commit

 

History

History
26 lines (20 loc) · 859 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 859 Bytes

HttpClient Wrapper

This wrapper allow you to create a simple HTTP client. This client try to simulate a navigator. It can be used to send HTTP requests and receive HTTP responses.

Install the package

You can run this following command to install the package locally:

# Install the package
make install
# Install the package without the tests
make finstall

Configure proxy

Your client can be used with brightData proxy. If you want to use this proxy, you have to configure it.

System.setProperty("httpclient.wrapper.proxy.bright-data.host", "YOUR_HOST");
System.setProperty("httpclient.wrapper.proxy.bright-data.port", "YOUR_PORT");
System.setProperty("httpclient.wrapper.proxy.bright-data.username", "YOUR_USERNAME");
System.setProperty("httpclient.wrapper.proxy.bright-data.password", "YOUR_PASSWORD");