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

botlify-net/httpclient-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");