This commit is contained in:
cole 2024-09-19 12:19:19 -04:00
Родитель 52030dbff6
Коммит 29838f1c39
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -59,7 +59,7 @@ And the SDK will know to use these values automatically.
Alternatively, you can define a proxy programmatically when creating a client, using `HttpClientProperties`:
```java
HttpClientProperties httpClientProperties = HttpClientProperties.builder()
.proxy(new HttpHost("1.2.3.4", 8989))
.proxy(new ProxyOptions(ProxyOptions.Type.HTTP, new InetSocketAddress("myproxy.contoso.com", 8080)))
.build();
Client = ClientFactory.createClient(<engine_connection_string>, httpClientProperties);