Skip to content

Commit e1972b4

Browse files
author
Carter Kozak
committed
util
1 parent 3327730 commit e1972b4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

service-config/src/main/java/com/palantir/conjure/java/api/config/service/ProxyConfiguration.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,10 @@ public static ProxyConfiguration mesh(String hostAndPort) {
136136
return builder().type(Type.MESH).hostAndPort(hostAndPort).build();
137137
}
138138

139+
public static ProxyConfiguration socks(String hostAndPort) {
140+
return builder().type(Type.SOCKS).hostAndPort(hostAndPort).build();
141+
}
142+
139143
public static Builder builder() {
140144
return new Builder();
141145
}

0 commit comments

Comments
 (0)