File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
src/main/java/com/box/sdkgen/client Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1- { "engineHash" : " ee965c4 " , "specHash" : " a05e5d7" , "version" : " 0.1.0" }
1+ { "engineHash" : " 8123fde " , "specHash" : " a05e5d7" , "version" : " 0.1.0" }
Original file line number Diff line number Diff line change 8989import com .box .sdkgen .networking .fetchresponse .FetchResponse ;
9090import com .box .sdkgen .networking .interceptors .Interceptor ;
9191import com .box .sdkgen .networking .network .NetworkSession ;
92+ import com .box .sdkgen .networking .proxyconfig .ProxyConfig ;
9293import java .util .List ;
9394import java .util .Map ;
9495
@@ -981,6 +982,12 @@ public BoxClient withCustomBaseUrls(BaseUrls baseUrls) {
981982 .build ();
982983 }
983984
985+ public BoxClient withProxy (ProxyConfig config ) {
986+ return new BoxClient .Builder (this .auth )
987+ .networkSession (this .networkSession .withProxy (config ))
988+ .build ();
989+ }
990+
984991 public BoxClient withInterceptors (List <Interceptor > interceptors ) {
985992 return new BoxClient .Builder (this .auth )
986993 .networkSession (this .networkSession .withInterceptors (interceptors ))
You can’t perform that action at this time.
0 commit comments