Add native forced hosts support

This commit is contained in:
Mark Vainomaa
2018-10-23 23:18:07 +03:00
parent 877b4f4738
commit ff6a6ad40b
4 changed files with 116 additions and 5 deletions

View File

@@ -66,6 +66,12 @@ public interface ProxyConfig {
*/
List<String> getAttemptConnectionOrder();
/**
* Get forced servers mapped to given virtual host
* @return list of server names
*/
Map<String, List<String>> getForcedHosts();
/**
* Get the minimum compression threshold for packets
* @return the compression threshold