Package ai.preferred.venom
Interface ProxyProvider
-
public interface ProxyProvider
This interface allows the user to define proxies to be used for requests.- Author:
- Truong Quoc Tuan, Maksim Tkachenko, Ween Jiann Lee
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.apache.http.HttpHost
get(@NotNull Request request)
Returns the get proxy from the list.
-
-
-
Method Detail
-
get
org.apache.http.HttpHost get(@NotNull @NotNull Request request)
Returns the get proxy from the list.- Parameters:
request
- the request to be made- Returns:
- the proxy to use
-
-